add http-encoding header, decode it too