gzip: add check for zlib extension
fix feed paging offset