Fix a bug in S3 header

get body length was throwing an exception when the Content-Length header was missing

Changelog:
* Add more error checks to s3 header class
* Add unit tests for s3 header class covering all typical use cases
* Add check for Markdown documentation to gitlab CI
5 jobs for bug_fixes in 8 minutes and 13 seconds (queued for 36 seconds)