code: public static URI toURI(InetAddress adr) {
  		try {
  			return new URI("tcp", adr.getHostAddress(), null, null); //$NON-NLS-1$
  		} catch (URISyntaxException e) {
  			throw new IOError(e);
  		}
  	}
docs: Convert an inet address to an URI.
  
  @param adr address to convert to URI.
  @return the URI.