Initial work sending protobuf messages to the server.