[master] Changes for https://java.net/jira/browse/GRIZZLY-1647 (RFC 6265 Cookie support broken when serializing client cookies.)

(cherry picked from commit 283167b35ae1707b033bb8c737c772fa87c992f2)
[master] + implement task #1648
https://java.net/jira/browse/GRIZZLY-1648

"Expose default Buffer sizes for TCPNIOTransport.read() and HTTP OutputBuffer.write()"
[master] + (additional commit for) implement task #1648
https://java.net/jira/browse/GRIZZLY-1648

"Expose default Buffer sizes for TCPNIOTransport.read() and HTTP OutputBuffer.write()"
[master] + introduce preallocated buffers percentage setting for PooledMemoryManager