Parsing HTTP is entirely unnecessary. That's the web client's job.

Do you mean parsing HTML? HTTP is the protocol they use to communicate, so both client and server must speak it. Or did I misunderstand you?

No, brain fart on my part. You can use llhttp, which is pretty easy to use: https://github.com/nodejs/llhttp