code: public String formatKey(String host, int port) throws URISyntaxException
  	{
  		if (port < 1) {
  			throw new URISyntaxException("","The port value must be greater than zero");
  		}
  		
  		if (!"".equals(host)) {
  			return host + ":" + port;
  		} else {
  			throw new URISyntaxException("","The host cannot be null");
  		}
  	}
docs: Concatenates a host string and port integer into a "host:port" string
  @param host
  @param port
  @return
  @throws URISyntaxException