lOut = new ByteBufferOutputStream();
lOut.write( IOUtil.encodeToBytes( toHeaderString(), CHARSET ) );
ByteBuffer buffer = this._out.getBackingBuffer();
int pos = buffer.position();
int limit = buffer.limit();
buffer.flip();
lOut.write( buffer );
result = lOut.getBackingBuffer();
result.flip();
buffer.limit( limit );
buffer.position( pos );