Zlib enhancements

Bug fixes and addition of an interface to deflateParams() for changing the compression level and strategy after intialization.
Thanks! I had somewhat missed that the test disables compression for the second chunk, and got further confused by more recent versions of zlib not having the same output.