HTTPS (SSL) support for apiEndPoint