docs: public InetSocketAddress asInetSocketAddress(Function<String, Integer> serviceMapper) {
  		if(isValid()) {
  			Integer port = getPort();
  			if(port == null && serviceMapper != null) {
  				String service = getService();
  				if(service != null) {
  					port = serviceMapper.apply(service);
  				}
  			}
  			if(port != null) {
  				IPAddress ipAddr;
  				if(isAddressString() && (ipAddr = asAddress()) != null) {
  					return new InetSocketAddress(ipAddr.toInetAddress(), port);
  				} else {
  					return new InetSocketAddress(getHost(), port);
  				}
  			}
  		}
  		return null;
  	}