Set TCP keepalive by default.