Add support for different Cache-Control/Expires headers for S3

Fixes #167