a rpc server by protobuf