code: private static void setCleanHost(Matcher matcher, List<String> hosts) {
  		// get the host but might be [ipv6]
  		String maybeIPv6Host = matcher.group( 1 );
  		Matcher ipv6Matcher = NAKED_IPV6_PATTERN.matcher( maybeIPv6Host );
  		String cleanHost = maybeIPv6Host;
  		if ( ipv6Matcher.matches() ) {
  			cleanHost = ipv6Matcher.group( 1 );
  			if ( cleanHost == null ) {
  				cleanHost = maybeIPv6Host;
  			}
  		}
  		hosts.add( cleanHost );
  	}
docs: If host is of the form [ipv6], return ipv6