custom server url support

Added functionality for private hosted hipchat. If no url is set the default of https://api.hipchat.com is still used