BaseParser: add all rules (except one) of RFC 5234, appendix B, section 1

The excluded rule is LWSP. The RFC does not even recommend it, so...