adjust xmpp package; start implementing HTTP protocol