More comments to make things readable.
Make it static, wonder how it compiled earlier.
Rename parser_ -> request_parser_; make separate per-pid logs
Log requests, responses to per-child logs & match them up post-facto