code: public static String retrieveData(String sUrl, int timeout) throws IOException {
          return retrieveData(sUrl, null, timeout);
      }
docs: Download data from an URL.
  
  @param sUrl The full URL used to download the content.
  @param timeout The timeout in milliseconds that is used for both
  connection timeout and read timeout.
  
  @return The resulting data, e.g. a HTML string.
  
  @throws IOException If accessing the resource fails.