compress: only set vary header if the filter check is passed
Merge pull request #904 from senchalabs/akamai-sucks

Only set vary header if the filter check is passed