Accept 0 as no limit for getRows
Send Keep-Alive for HTTP 1.0 connections

Temporary hack. The real fix is to close the connection unless client
can handle it.
Experiment with different thread counts
Disconnect connection for HTTP 1.0