2557 - Added protocol relative checks to the isCrossDomain method.

- This ensures that protocol relative urls are handled correctly.

#2557