Decompressing returned InputStream only if it ontains GZIP/DEFLATE compressed data (signature check)