[[ Bug 13694 ]] Allow a maximum of 1024 form fields in POST request.

This is a partial fix for bug 13694 that prevents the most harmful
effects of the bug.