partially working server to client protobuf, some bugs