Addressing issues with the parser discovered by torture-tests (RFC 4475).

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6460 ddefafc4-47db-0310-ae44-fa13212b10f2
Filling branch.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6461 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixes for parsing of integral values (on most platforms, integral values could be no larger than 2**31-1, as opposed to 2**32-1, and overflow-checking was not performed.)

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6462 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixes for parsing of integral values (on most platforms, integral values could be no larger than 2**31-1, as opposed to 2**32-1, and overflow-checking was not performed.)

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6463 ddefafc4-47db-0310-ae44-fa13212b10f2
Initial work on making SipMessage compliant with RFC 3261 sec 18.3 (ie. making SipMessage take Content-Length seriously).

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6464 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixing a mess. (Patch was applied twice to new files)

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6465 ddefafc4-47db-0310-ae44-fa13212b10f2
Enforcement of single-value headers.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6466 ddefafc4-47db-0310-ae44-fa13212b10f2
Removed UInt8Category and UInt8Parameter.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6467 ddefafc4-47db-0310-ae44-fa13212b10f2
More verbose logging in RFC4475TortureTests.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6468 ddefafc4-47db-0310-ae44-fa13212b10f2
Ignore empty parameters.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6469 ddefafc4-47db-0310-ae44-fa13212b10f2
On second thought, let's fix it this way.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6470 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixed an overflow bug in SdpContents::Session::Time::parse().

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6471 ddefafc4-47db-0310-ae44-fa13212b10f2
Someone missed a CRLF.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6472 ddefafc4-47db-0310-ae44-fa13212b10f2
Configuration for Content-Length checking, PEDANTIC_STACK build parameter (not integrated into build system yet; may end up making this runtime configurable)

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6479 ddefafc4-47db-0310-ae44-fa13212b10f2
Removing last uses of IntegerCategory and IntegerParameter.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6480 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixed SipMessage::parseAllHeaders to do the empty header-field-value repair work that the SipMessage::header() interface normally does.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6490 ddefafc4-47db-0310-ae44-fa13212b10f2
Fixed bug where whitespace after senthost in Via was not ignored. Also, fleshed out case wsinv in RFC4475TortureTests.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6491 ddefafc4-47db-0310-ae44-fa13212b10f2
Fleshed out case wsinv in RFC4475TortureTests.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6492 ddefafc4-47db-0310-ae44-fa13212b10f2
Some work on wsinv, fleshed out intmeth.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6493 ddefafc4-47db-0310-ae44-fa13212b10f2
Fix a typo.

git-svn-id: https://svn.resiprocate.org/rep/resiprocate/branches/b-bwc-parser_hardening@6505 ddefafc4-47db-0310-ae44-fa13212b10f2