pub fn parse_client_line(
raw: &str,
room: &str,
user: &str,
) -> Result<Message, Error>Expand description
Parse a raw line from a client socket. JSON envelope → Message with broker-assigned id/room/ts. Plain text → Message::Message with broker-assigned metadata.