Merge branch 'f.gzip' into development

* f.gzip:
  Add support for gzip compression if the client requests it
Improve content type detection