Make all comparisons case insensitive for forwarded protocol in get_location()