C++ client and server classes that communicate via TCP/IP