code: public static String getIPv4OrIPv6WithSquareBracketsHost(String dbServer) {
          final Address address = new Address(dbServer);
          return address.getURIIPV6Literal();
      }
docs: Method returning the host surrounded by square brackets if 'dbServer' is IPv6 format.
  Otherwise the returned string will be the same.
  
  @return