rpc client and server for caffe