add buffer to protocol pipe
Merge pull request #93 from Parquet/add_buffer_to_protocol_pipe_in_master

add buffer to protocol pipe