make url check protocol agnostic.