LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces.