pub fn sanitize_session_component(value: &str) -> String
Convert arbitrary caller-provided text into a valid session-name component.