[http] Fixes, criteria unification

This fix the way of parse a header line (Fix #5253 and supersede #5290)

Also I did a review about the field name validation rule.