Add SO_KEEPALIVE.