Changing URLs to use the API over HTTPS instead of HTTP