zlib encoding always operates as per legacy implementation