check if gzip is accepted before enabling it; take the output handler setting into account after profiling