Make gzip/deflate compression configurable by the user #561