enable SO_KEEPALIVE for connected TCP sockets