[2.3.x] + tiny refactoring
[2.3.x] + fix issue #1709
https://java.net/jira/browse/GRIZZLY-1709
"[AJP] Glassfish/Grizzly Memory Leak in Glassfish 4"
[2.3.x] + fix issue #1712
https://java.net/jira/browse/GRIZZLY-1712
"Grizzly NIO selectors running postponed tasks indefinitely causing high CPU usage"