send protobuf obj between server and client.