I found this a bit confusing to read. Could we do something like:

    if (headers.expires){
        return now > Date.parse(headers.expires);

This way, we would only create a date object of expires exists, instead of `Date.parse`-ing a undefined object.