change getHostName to getHostString in http upgrade provider so that wrong reverse DNS does not break connection