Remove syncs as SocketProcessor.run() provides the necessary syncs on the socket.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1529130 13f79535-47bb-0310-9956-ffa450edef68
Add a dispatch parameter to the newly renamed processSocket() method and align BIO and APR with NIO that executes the SocketProcessor in-line if no Executor is available

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1529132 13f79535-47bb-0310-9956-ffa450edef68
Align implementation of state machine with documented transitions (allow dispatch() when in ASYNC_READ_WRITE_OP)

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1529133 13f79535-47bb-0310-9956-ffa450edef68
Fix intermittent issue observed in unit test on CI system.
Container is responsible for first call on onWritePossible() / onDataAvailable()


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