Added possibility to enable/disable gzip compression, closes #879