Repaired sending 'hello' message to server in client.cpp