rfe12179: Add connection pooling to Java Events test

Added optional connection pooling to the events test.

Depends on change 2900.

Tests added for:     None
make test-suite run? no - Tested Events by hand

Change-Id: Ife3cfb9884c1500d18bf5d42435f24449996a387
Reviewed-on: https://gerrit.franz.com:9080/2965
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: John O'Rourke <jor@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Fixed documentation grammar

Changed an "a" to an "an".

Change-Id: I3b160554d8a7abe8ebe51c50abdc818add35ca00
Reviewed-on: https://gerrit.franz.com:9080/3105
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Provide means for disabling gzip encoding

If system property "com.franz.agraph.http.useGzip" is not "true" [*], HTTP
requests will exclude the "Accept-encoding: gzip" header, allowing for
more useful packet captures when desired.

When testing via 'ant', Use -DuseGzip=false to disable gzip encoding.

[*] The default is "true".

Change-Id: I74c8c6f3921d979f3ecad1894133645df6aaf7ad
Reviewed-on: https://gerrit.franz.com:9080/3122
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
bug21794 AGConnPoolClosingTest.openSockets_bug21099 test problems

In AGConnPoolClosingTest.openSockets_bug21099, changed
AGPoolProp.numTestsPerEvictionRun from 5 to minIdle (10) so that all
idle connnections in the pool will be examined during eviction runs.
Prior to this change, only 5 were examined per eviction run and it was
possible to get into a state where old connections were not being
examined, resulting in test failure.

Also added code comments in various places to aid future maintainers.

Change-Id: If58989c41a3a258b9b8a879a80b69e4064802569
Reviewed-on: https://gerrit.franz.com:9080/3123
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: Ross Jekel <rjekel@franz.com>
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
bug21794 AGConnPoolClosingTest.openSockets_bug21099 test problems

In AGConnPoolClosingTest.openSockets_bug21099, changed
AGPoolProp.numTestsPerEvictionRun from 5 to minIdle (10) so that all
idle connnections in the pool will be examined during eviction runs.
Prior to this change, only 5 were examined per eviction run and it was
possible to get into a state where old connections were not being
examined, resulting in test failure.

Also added code comments in various places to aid future maintainers.

Change-Id: If58989c41a3a258b9b8a879a80b69e4064802569
Fixed documentation grammar

Changed an "a" to an "an".

Change-Id: I3b160554d8a7abe8ebe51c50abdc818add35ca00
Reviewed-on: https://gerrit.franz.com:9080/3105
Reviewed-by: Ahmon Dancy <dancy@franz.com>
Reviewed-by: Kevin Layer <layer@franz.com>
Tested-by: Kevin Layer <layer@franz.com>
Merge remote-tracking branch 'origin/v4.11' into v4.12