Moved hs_sethost_all()

hs_sethost_all() was defined in three different files, and used in each with no modification what-so-ever.
Moved to a header already included by all three files.