Manually merged 8c4cdb259a0b0f1d4b92f86d80df8e9242d5a505 by mvwieringen
  * "The zlib deflateResetKeep that is called from deflateReset of which fastlzlibReset is an equivalence off resets more fields so added resetting these fields in fastlzlibReset too"