Fix deflate
algorithm to adhere to RFC 1950
#824
Merged
deflate
algorithm to adhere to RFC 1950
#824