Jabber Gateway Hipchat compatibility improvements

fixes #557, #558, #559
Yes indeed that would be simpler