Make Content-MD5 response behave like S3

The code now differentiates between a malformed digest and a digest
mismatch.
Merge branch 'fix-content-md5-reponse'