added xmpp protocol support