Move buffering from BTProtocol in TCPClient.