Add a debug message I found useful when trying to track down a WebSocket issue

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1516398 13f79535-47bb-0310-9956-ffa450edef68
Refactor connections as upgraded connections will need to support multiple threads processing the same connection

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1516400 13f79535-47bb-0310-9956-ffa450edef68
It is the socket that is the key for the connections map, not the processor
Align debug message with trunk code

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1516404 13f79535-47bb-0310-9956-ffa450edef68
Fix an issue highlighted when running the Autobahn test suite on Linux.
Don't register the socket for a read when a write event completes (may lead to thread starvation)

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