Implement etag/last-modified support