Detects gzip compression and makes sure that a stream always gets unzipped if needed.
npm install --save ensure-gunzip
var ensureGunzip = require('ensure-gunzip');
var mysteriousStream = getStreamSomehow();
var stream = ensureGunzip(mysteriousStream);
// read plain data from `stream`