Allow a custom API URL to be used
Default to https instead of http
Merge pull request #2 from javawizard/custom-api-url

Allow a custom API URL to be used