this module function allows to use the right underlying methods depending on zlib presence
[Validate]