test protobuf + socket