Broadcast data to all connected clients. Wraps each send in try/catch so a single failed send doesn't skip remaining clients.
OptionalexcludeId: stringSend data to a specific client by socket ID. Silently ignores unknown socket IDs and write errors.
Returns the number of currently connected clients.