fix leak introduced in v0.7. cleaned up some message property retrieval (etag and content-type) code.