Updated chat_client.cpp

Still working on it.