Set keepAlive on connected socket.

#198 

This prevents tedious from having troubles with idle connection while working with Azure DB behind load balancer.

We have found, that calling setKeepAlive on newly created socket has no effect. It only works if called on connected socket.