Changes with cache-control headers

Changes with cache-control headers : last-modified, cache-control,
pragma, expires etc. + support Https + 404 handling.