When setting up a socket server/client pair to communicate between Java and C++, using Google Protobuf messages, I ran into some issues where socket communications were improper