Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54624
Read request body before content length header is restored for the old request as AJP connector uses this to determine how many bytes to read (and it will block until they are read)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1453544 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=54628
Only write data from start position in array rather than start of array.
Patch provide by blee.

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