fix bug in HTTP deflate decompress