a client for the chat server