use xmpp instead of http