a simple chatroom client