introduce pacredir.h
do a request as soon as host is up to check bad status