Add a flag to the SocketWrapper to indicate if the socket is using a secure connection. Initially this is intended for use with the APR connector to better determine what various error codes may mean.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1532724 13f79535-47bb-0310-9956-ffa450edef68
Add a debug message that enables the socket reference (used in most debug messages) to be matched to the port number (used in tcpdump) to enable unusual behaviour in the debug logs to be easily matched to the corresponding network activity.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1532725 13f79535-47bb-0310-9956-ffa450edef68
Include socket reference in IOExceptions to make debugging easier

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1532726 13f79535-47bb-0310-9956-ffa450edef68
Handle the client dropping the connection during the SSL handshake in the same way as it is handled at any other time.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1532727 13f79535-47bb-0310-9956-ffa450edef68
Don't call the onError() method of the endpoint if the WebSocket close message cannot be sent for abnormal closure as this is not unexpected.

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