Revert 36635
See https://github.com/nodejs/node/issues/37937 for more details.
This revers a commit that caused an unlimited amount of event listener added to a socket when receiving HTTP pipelining, causing a memory leak.
It also adds a test a second commit to prevent this from happening again.
This never ended in a release, however it would have been a security vulnerability capable of a a DoS, see https://cwe.mitre.org/data/definitions/400.html.