taken from linux-2.2.14 kernel source (ppp deflate)
although linux kernel is licensed under GPL, but zlib has less restrictive
license, which, as I think applies here
	-- malekith
	