Added option to set optional host header