Additional handling for is_valid_url