Fix mixed content error on HTTPS URLs