added XMPP support