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

If addUserMetadata is used with the above headers, the result is x-amz-Cache-Control etc.

This uses the correct function for these headers so that x-amz is not prepended.