Sorry, I can't take this. http_parser tries very hard remain small and lightweight. sizeof(http_parser) == 32 bytes on x86_64 and now you add a 4 kB buffer?