onConnect method
Decides whether to accept a connection, given the payload of its
connection_init, such as credentials. Accepts all by default; return
false to close it with TransportWSCloseCode.forbidden.
Implementation
FutureOr<bool> onConnect(Map<String, dynamic>? payload) => true;