Ensure we only use the XDomainRequest behavior if this is in fact a cross domain request