Revert "remove zlib dependency"

This reverts commit ff4c3d0321a24e37479e720bae6d193ac21d1f61.
timer with explicit schedule
compression with zlib