Finalizing XMPP websocket support.