removed strict hostname checking