[glassfishv4] Changes for https://java.net/jira/browse/GRIZZLY-1591 and https://java.net/jira/browse/GRIZZLY-1538
[glassfishv4] Initial changes for https://java.net/jira/browse/GRIZZLY-1593 (Mirror for https://java.net/jira/browse/GLASSFISH-20681 (TimeoutException when delivering static web sites))
[glassfishv4] [glassfishv4] + fix the issue #1592
https://java.net/jira/browse/GRIZZLY-1592

"HTTP Reader may fail to read() single char"

Conflicts:
	modules/http-server/src/test/java/org/glassfish/grizzly/http/server/HttpInputStreamsTest.java