THRIFT-1457 java: Capacity of TframedTransport write buffer is never reset
Patch: Arthur Meyer