Use gzip encoding in production

Enabled when DEBUG is not set.