Minimal XMPP like chat framework built using Websocket