add code to see if Host header is passed