improve request header parsing performance