making a chat client + server