Detects cache headers and runs the appropriate function.
Added support for setting content-encoding
Merge jenkinsci/master into mediaplayout/http-headers
Merge pull request #43 from mediaplayout/http-headers

Use appropriate functions for Cache-Control, Expires and Content-Encoding headers