Merged revision 1523958 from tomcat/trunk:
Fixed realm documentation - the number of the standard o.a.catalina.Realm implementations provided by Tomcat was not correct. Issue was reported through comments.apache.org.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk@1523960 13f79535-47bb-0310-9956-ffa450edef68
Improve handling of situation where socket / connector closes down while an application thread is using the socket. This ismost likely to occur with upgraded connections that use concurrent read/write (e.g. WebSocket)

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