Add check for BOSH
Merge branch 'websocket-browser' of github.com:node-xmpp/node-xmpp-client into websocket-browser

Conflicts:
	examples/browser/chat.js