Fix max-age and freshness confusing zero and null.

The two Zero tests currently fail on master.
getDirective() returns mixed, so it could return something totally wrong like s-maxage=kittens. In that case, is it better if we try other headers and return null if nothing works?