Add support for API calls via HTTPS