Checks if two URLs pass the "same origin"-policy (RFC 6454)