Added support for keepAlive to DefaultConnection
Fixed bug in setting maxWaitQueueSize