pipe multilevel rpc into sockets