public Session(Account account) { Account = account; Stream = new Stream(); StanzaManager = new StanzaManager(); Stream.OnStanzaReceived += StanzaManager.HandleStanza; SetupNegotiation(); }