Hack in some socket.io support for chat.