Use new node-xmpp-core API