Merged in aseering/ziplib (pull request #2)
Handle the case where zlib's 'inflate()' consumes all input without producing any output
Handle the case where zlib's 'inflate()' consumes all input without producing any output