Updated chat client to get basic functionality working.