Specify hipchat server address

Add an ability to connect to self managed HipChat Server.

You're saying the domain part of the JID must be "chat.btf.hipchat.com" regardless of the address of the server you're connecting to? What happens if you use the domain of the server in the JID instead?