Move the "need_host_hdr" test to cache_fetch.c