/// Sanitizes a single-line SSE header field value by stripping `\r`, `\n`, and NUL bytes.
///
/// # Arguments
///
/// - `&str` - Raw field text.
///
/// # Returns
///
/// - `String` - Safe single-line value that cannot inject additional SSE lines or frames.
pub
/// Parses a `Last-Event-ID` string into a numeric sequence id when valid.
///
/// # Arguments
///
/// - `Option<&str>` - Raw `Last-Event-ID` header value.
///
/// # Returns
///
/// - `Option<u64>` - Parsed sequence id, or `None` when absent or non-numeric.
pub