XMPP supports running over websockets (or even long-polling HTTP, but that's thankfully less necessary these days).
Reply on news.ycombinator.com