check for headers and host header

bz#103064