Added ETag support

Fixes #230