Revert the swallowing of the Status.APR_EGENERAL. It can't be the SSL handshake failing as that has to have completed for the code to get this far and it appears to be related (the same?) as the random closes when using the drawing board example.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1535819 13f79535-47bb-0310-9956-ffa450edef68
Check for closed sockets earlier and reduce code duplication.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1535821 13f79535-47bb-0310-9956-ffa450edef68
Remove socket from list of connections as soon as we know it is going to be closed.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1535822 13f79535-47bb-0310-9956-ffa450edef68
Add wrapper information to error message

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1535825 13f79535-47bb-0310-9956-ffa450edef68
Improve debug logging of SocketWrapper that just uses toString()

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1535826 13f79535-47bb-0310-9956-ffa450edef68
Fix the unexpected closure issues with APR/native, SSL and the drawboard example

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