add rpc(Pid, Request) for client use