An XMPP client api