if (hostname == "")
if (hostname.equals(""))
	protected InetAddress getHostAddress(URL url) {		String hostname = url.getHost();		if (hostname == "")			return null;		try {			return InetAddress.getByName(hostname);		} catch (UnknownHostException e) {			return null;		}	}