HTTPS to access CDN

When used on secure connection, bypass the warning by using HTTPs by default.