private InputStream getConnectionInputStream(HttpURLConnection conn) throws IOException {
		if (conn.getHeaderField("Content-Encoding") != null) {
			if (conn.getHeaderField("Content-Encoding").contains("gzip")) {
				return new GZIPInputStream(conn.getInputStream());
			}
		}
		return conn.getInputStream();
	}