docs: public static String formatAddress(InetAddress inet){
          if(inet == null){
              throw new IllegalArgumentException();
          }
          if(inet instanceof Inet4Address){
              return inet.getHostAddress();
          } else if (inet instanceof Inet6Address){
              byte[] byteRepresentation = inet.getAddress();
              int[] hexRepresentation = new int[IPV6_LEN];
  
              for(int i=0;i < hexRepresentation.length;i++){
                  hexRepresentation[i] = ( byteRepresentation[2*i] & 0xFF) << 8 | ( byteRepresentation[2*i+1] & 0xFF );
              }
              compactLongestZeroSequence(hexRepresentation);
              return formatAddress6(hexRepresentation);
          } else {
              return inet.getHostAddress();
          }
      }