add code of protobuf-socket-rpc