a chat demo from Tornado/demo/chat