code: public static InputStream getInputStream(URL url, int timeout) throws IOException
  	{
  		return getInputStream(url,true, timeout);
  	}
docs: Connect to server and return result as an InputStream.
  always asks for response to be in GZIP encoded
  <p>
  The caller is responsible to close the returned InputStream not to cause
  resource leaks.
  @param url the URL to connect to
  @param timeout the timeout for the connection
  @return an {@link InputStream} of response
  @throws IOException due to an error opening the URL