Add support for HEAD and update content-length when we decompress