Revert "When using IE only do CORS from https to https and http to http."

This reverts commit a4acc88c7a51705939e9d7008731f67a93e1353a.