a general use of rpc service, implement by libev & protobuf