enable BOSH
set XMPP hostname
set hostname for jwchat too
Merge pull request #1 from jvalleroy/master

jwchat fixes