Use miniz native functions instead of zlib streams
sx
WIP: Fixed SX/libuv buffers passing