reset the content length when the body was reset
Merge branch 'R_2_0'
2.0.6
Merge branch 'R_2_0'
fix ZTS
ensure the response message is actually of type response

it could be uninitialized in case of early error, like DNS
fixes bug #67584
Merge branch 'R_2_0'