Move the point where the socket is removed from the connections Map so
all the actions apart from removal from the Poller are in a single
method to facilitate refactoring removal of the socket from the Poller.

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

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1527728 13f79535-47bb-0310-9956-ffa450edef68
Refactor the remove list in the Poller to be a close list. The poller
now removes the socket if it is in the Poller then destroys it. Note the
socket is always destroyed whether it is found in the Poller or not.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1527730 13f79535-47bb-0310-9956-ffa450edef68
Add a warning comment and simplify the code a little.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1527731 13f79535-47bb-0310-9956-ffa450edef68
Refactor the method names some more.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1527732 13f79535-47bb-0310-9956-ffa450edef68
Switch to destroySocket in a few places where it is safe to do so.

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