Use decompressobj for zlib decompressing

This solves issue #224 and #238