Adapt to changed alloc_request signature. Fixes #14.
Decompress throws an error on truncated data. Fixes #13