Add test for pipelining over two-party RPC.
Make rpc protocol headers public.