* Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55268
Back-port of r1503852 from Tomcat 7.0.x.
Add optional --service-start-wait-time command-line option to bin/daemon.sh to change service start wait time from default of 10 seconds. Patch by schultz

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1552554 13f79535-47bb-0310-9956-ffa450edef68
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55266
Parse session ID before redirect as session ID may need to be encoded

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk@1552563 13f79535-47bb-0310-9956-ffa450edef68
Better adherence to RFC2616 for content-length headers.

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