[fix] Correctly parse the protocol when a protocol agnostic URL is used in IE

See #242