Same-domain requests on a non-standard HTTP port were incorrectly identified as cross-domain requests