Port BOSH tests from node-xmpp