docs: private String formatMaybeIpv6(String address) {
          String openBracket = "[";
          String closeBracket = "]";
  
          if (address.contains(":") && !address.startsWith(openBracket) && !address.endsWith(closeBracket)) {
              return openBracket + address + closeBracket;
          }
  
          return address;
      }