allow Content-Encoding to be specified

This allows changing the default from 'gzip'