[glassfishv41] + fix issue #1709
https://java.net/jira/browse/GRIZZLY-1709
"[AJP] Glassfish/Grizzly Memory Leak in Glassfish 4"
[glassfishv41] + fix NPE
[glassfishv41] + improve CloseReason and tests