Add Content-Encoding header and set AWS S3 metdata.
Add TODOs.
Merge branch 'feature/issue-1095-gzip-content-encoding' into develop