Improve Content-Length error handling

Found with Ceph s3-tests.  References #5.