pub const MAX_FRAME_LEN: usize = _; // 1_048_576usize
Hard limit for frame payload size (~1 MiB). Prevents memory exhaustion DoS.