docs: public static String getSpoofedHostName(String host, String alias) {
  		// Determine the host name to use as the spoofed host name, this should
  		// be of the format IP:hostname
  		String spoofed = host;
  		if (StringUtils.isNotEmpty(alias)) {
  			// If the alias was supplied in the appropriate format, use it
  			// directly
  			Matcher hostIpMatcher = PATTERN_HOST_IP.matcher(alias);
  			if (hostIpMatcher.matches())
  				return alias;
  			// Otherwise, use the alias as the host
  			spoofed = alias;
  		}
  		// Attempt to find the IP of the given host (this may be an aliased
  		// host)
  		try {
  			return InetAddress.getByName(spoofed).getHostAddress() + ":" + spoofed;
  		} catch (UnknownHostException e) {
  			log.debug("ignore failure to resolve spoofed host, continue host resolution", e);
  		}
  		// Attempt to return the local host IP with the spoofed host name
  		try {
  			return InetAddress.getLocalHost().getHostAddress() + ":" + spoofed;
  		} catch (UnknownHostException e) {
  			log.debug("ignore failure to resolve spoofed host, continue host resolution", e);
  		}
  		// We failed to resolve the spoofed host or our local host, return "x"
  		// for the IP
  		return "x:" + spoofed;
  	}