Add HTTPS support for CDN version