Provide ETag in header; fix small bugs