Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54944
Enhancements to TestFormAuthenticator.
Patch by Brian Burch

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1486863 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54947
NIO connector incorrectly rejects a request if the CRLF terminating the request line is split across multiple packets.
Patch for the fix by Konstantin Preißer.
I added a test case.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1486877 13f79535-47bb-0310-9956-ffa450edef68