describe the basic chatroom protocol