Use the presence of Transfer-Encoding or Content-Length for body start.
Use the presence of Transfer-Encoding or Content-Length for body start.

Strictly match for one of the headers above as a cue to discern that the
headers have been seen & subsequent bytes can be counted towards the body.

unexpectedjs/unexpected-mitm,alexjeffburke/unexpected-mitm