Core support for disabling HTTPS based on GeoIP