set SO_KEEPALIVE on client sockets
Socket options require Qt 4.6+