add httpparser test for correctness and benchmark