internal void ClientConnected(string connectionId, IClientProxy client)
        {
            var sess = new WebTermSession(this, connectionId, client);

            _sessions.Add(sess.ConnectionId, sess);

            var e = new SessionEventArgs(sess);

            SessionConnected(this, e);

            if (!e.RefuseConnection)
            {
                sess.RunAsync();
            }
            else
            {
                sess.Kick();
            }
        }
        //TODO: understand if SetBackColor / SetForeColor is needed on the Terminal interface // used for simple term (no app)

        public WebTerminal(WebTermSession sess)
        {
            Session = sess;
        }