SASL → Resource Bind → Create Session まで #include <cassert> #include <iostream> #include <boost/make_shared.hpp> #include <gloox/iq.h> #include <gloox/parser.h> #include <gloox/base64.h> #include <gloox/connectiontcpclient.h> #include <gloox/connectiontls.h> class Bot : public gloox::ConnectionDataHandler, gloox::TagHandler, gloox::TLSHandler { public: Bot() : client_(new gloox::ConnectionTCPClien