preserving host information for tomcat