I released 0.7.0 of `node-xmpp a couple of days ago, might be worth using that version (as you'll get the following bug fixes).