Enable reuse of TChannelBufferInput/OutputTransport

Adds some functions to set a new input buffer and reset the output buffer, so we can reuse the same transport across multiple thrift calls on the same connection.