Raise InvalidUri if none HTTP/HTTPS URL encountered when unwinding