OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream id="0a56ba23-ee3b-49ed-96f7-cb5e3b7d1713" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="test-d" xml:lang="en" version="1.0"/>
INPUT: <stream:features><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>DIGEST-MD5</mechanism><mechanism>CRAM-MD5</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
OUTPUT: <auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='DIGEST-MD5'/>
INPUT: <challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cmVhbG09InRlc3QtZCIsbm9uY2U9Ik10YlFvUnREa2J2clQxN1dsQ1pnbXQ1dHFPZ1pTajdTTDRFaGhEdlMiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
OUTPUT: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWRtaW4iLHJlYWxtPSJ0ZXN0LWQiLG5vbmNlPSJNdGJRb1J0RGtidnJUMTdXbENaZ210NXRxT2daU2o3U0w0RWhoRHZTIixuYz0wMDAwMDAwMSxjbm9uY2U9InBQVThkbHN0bzhoNXZldXVTcTVZYlkrR1kzSm56OVZ0emNHeUlMaloiLGRpZ2VzdC11cmk9InhtcHAvdGVzdC1kIixtYXhidWY9NjU1MzYscmVzcG9uc2U9OTE3MzYzM2FkYjhhNDg4OTQyYjcyOTIxNDU2MzZlN2EscW9wPWF1dGgsYXV0aHppZD0iYWRtaW4i</response>
INPUT: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD1hMzJiYjA3NmNiMzFlNWM3YmZkNDcxMjY2NzNmYzM4Ng==</success>
OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream id="0a56ba23-ee3b-49ed-96f7-cb5e3b7d1713" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="test-d" xml:lang="en" version="1.0"/>
INPUT: <stream:features><register xmlns="http://jabber.org/features/iq-register"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
OUTPUT: <iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
INPUT: <iq to="admin@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>admin@test-d/def-user-resource</jid></bind></iq>
OUTPUT: <iq to="vhost-man@test-d" id="aac8a" type="set"><command node="VHOSTS_RELOAD" xmlns="http://jabber.org/protocol/commands"/></iq>
INPUT: <iq id="aac8a" to="admin@test-d/def-user-resource" from="vhost-man@test-d" type="result"><command node="VHOSTS_RELOAD" xmlns="http://jabber.org/protocol/commands" status="completed"><x xmlns="jabber:x:data" type="result"><field type="fixed" var="Note"><value>Current number of VHosts: 2</value></field></x></command></iq>
