Fix for MSIE9 doing CORS to HTTPS endpoint.