Zlib enhancements

Bug fixes and addition of an interface to deflateParams() for changing the compression level and strategy after intialization.
:+1: