delete content encoding header after decompression
fix content-encoding header checks in specs