SimulatedSocketFactory.java uses GetHostString(), a Java 7 function

GetHostString() is a Java 7 method, GetHostName() is backwards-compatible, though it doesn't avoid DNS lookups like the new method.