High performance HTTP accelerator and firewall for WAF and DDoS prevention