XMPP chat code sample for QuickBlox