OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream id="0c560bc4-4c24-412a-b048-7fa402810338" 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">cmVhbG09InRlc3QtZCIsbm9uY2U9IjZpWFMrZzJrRW5UMlp6UFBmSGwrVlhnSTdxMzVRUER0T1l5ZVVGcnMiLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
OUTPUT: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWxsLXhtcHAtdGVzdCIscmVhbG09InRlc3QtZCIsbm9uY2U9IjZpWFMrZzJrRW5UMlp6UFBmSGwrVlhnSTdxMzVRUER0T1l5ZVVGcnMiLG5jPTAwMDAwMDAxLGNub25jZT0iTWIzdlllOThlTWJCOGticmZzbXBjZGFQc0U0NXVCVUFyS1ExTHlyKyIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT03NWQ0MWU0MDUzNTFiMmVhNmYwMjQzZmExMTAyNDdlNSxxb3A9YXV0aCxhdXRoemlkPSJhbGwteG1wcC10ZXN0Ig==</response>
INPUT: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD04NGQ3MWRkMDkxOWE0NTY1ODY0OTdlMDljZjVmMWQzZg==</success>
OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream id="0c560bc4-4c24-412a-b048-7fa402810338" 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="all-xmpp-test@test-d/def-user-resource" id="bind1" type="result"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
OUTPUT: <presence to="new_chat@muc.test-d/my_nick" from="all-xmpp-test@test-d/def-user-resource"><x xmlns="http://jabber.org/protocol/muc"/></presence>
INPUT: <message to="all-xmpp-test@test-d/def-user-resource" from="new_chat@muc.test-d" type="groupchat"><body>Room is locked. Please configure.</body></message>
INPUT: <message to="all-xmpp-test@test-d/def-user-resource" from="new_chat@muc.test-d" type="groupchat"><body>Room is locked. Please configure.</body></message>
INPUT: <presence to="all-xmpp-test@test-d/def-user-resource" from="new_chat@muc.test-d/my_nick"><x xmlns="http://jabber.org/protocol/muc#user"><status code="110"/><status code="201"/><item affiliation="owner" role="moderator" jid="all-xmpp-test@test-d/def-user-resource"/></x></presence>
