Add Content-Length to message in the body of a bad request