Full zlib compatibility with node