This warning is also scaring people
[REM3-186] Prevent buffer double-freeing in certain cases
change getHostName to getHostString in http upgrade provider so that wrong reverse DNS does not break connection
[REM3-187] Fix JAR version detection
Better close up the stream too