Emulates Node's zlib module for Browserify
using pako. It uses the actual Node source code and passes the Node zlib tests
by emulating the C++ binding that actually calls zlib.
The following options/methods are not supported because pako does not support them yet.