My first attempt at creating a chat client.