My C++ Console Server and Client implementation