docs: public static String formatAddress(InetSocketAddress inet){
          if(inet == null){
              throw new NullPointerException();
          }
          StringBuilder result = new StringBuilder();
          if(inet.isUnresolved()){
              result.append(inet.getHostName());
          }else{
              result.append(formatPossibleIpv6Address(formatAddress(inet.getAddress())));
          }
          result.append(":").append(inet.getPort());
          return result.toString();
      }