Added XEP-0012 support from unisotech/qxmpp project