Implenting very rudimentary http caching

POC

adds ETAG and Last-Modified headers
rudimentary handling of incoming if-none-match and if-modified-since

Currently only enabled if memcach cache is enabled