Improved the HTTPFormParser code.

No change to the functionality.