Initial version of XMPP API