Added zlib compression support

Signed-off-by: Kostas Tamošiūnas <tamosiunas@gmail.com>