Switch the logic around in preparation for a fix for BZ 55381

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

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