Code outline for SimpleChatClient