PR #5767 added a check such that a loop is detected if the client IP is the same as the cache IP. This breaks the case where the remap config is:
map http://foo.com http://foo.com
and, one uses parent selection with go_direct=false -- a loop is improperly detected.