merged in changes from erik: TXHRTransportError -> __Exception to be consistent with Thrift exception naming recv_buf should be initialized to Uint8Array(0) rather than Array  (avoids access error using subarray method which is not on Array)
merged in changes from erik:
TXHRTransportError -> __Exception to be consistent with Thrift exception naming
recv_buf should be initialized to Uint8Array(0) rather than Array 
(avoids access error using subarray method which is not on Array)
kbase/kbase-data-thrift-js,kbase/kbase-data-thrift-js,kbase/kbase-data-thrift-js