Adds support for persistent http connections
Fixes Bug in persistent HTTP connection that resulted in accumulated queris
Fix memory leaks
Disable keep alive for testing