I feel like it should be possible to avoid dynamic memory allocation completely during the request processing/parsing. Sure, fixed-sized buffers generally imply some memory overhead, but I'd think the overall effect on performance would be beneficial.