PhoenixSocket createPhoenixSocket( String endpoint, Map<String, String> params, ) => PhoenixSocket( endpoint, socketOptions: PhoenixSocketOptions(params: params), );