pub fn with_keepalive(self, keepalive: Option<Duration>) -> Self {
        let keepalive = keepalive.map(|t| TcpKeepalive::new().with_time(t));
        Self { keepalive, ..self }
    }
Sets the `TCP_KEEPALIVE` option on the accepted connection.
tonic/src/transport/server/incoming.rs