Only set daemon->hosts_cache once

I'm not sure if this is the proper way to ensure command line options
have precedence, but it works for me.