Set Content-length when body is added