code: private String resolveHostName(InetSocketAddress remoteAddress) {
          String hostString = null;
          try {
              hostString = (String) getHostMethod.invoke(remoteAddress, new Object[]{});
          } catch (InvocationTargetException ite) {
              throw new RuntimeException("Expecting InetSocketAddress to have a package scoped \"getHostString\" method which returns a String and takes no input");
          } catch (IllegalAccessException iae) {
              throw new RuntimeException("Expecting InetSocketAddress to have a package scoped \"getHostString\" method which returns a String and takes no input");
          }
          return hostString;
      }
docs: A minor optimization to prevent possible host resolution when inspecting a InetSocketAddress for a hostname....
  
  @param remoteAddress
  @return
  @throws IOException