- Fix SSL output with blocking writes when a handshake occurs during the flow.
- Fix relevant test as pointed out by Konstantin.

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