OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="dfa7dbeb-d429-41f2-8ace-e031afcb42db" xmlns:stream="http://etherx.jabber.org/streams" from="test-d"/>
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">cmVhbG09InRlc3QtZCIsbm9uY2U9IjVXVzc2YW9PRWNZQ2RSTmp4WWJUUng3dzRPS0cyeE1YUmdVYWtsNlciLHFvcD0iYXV0aCIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=</challenge>
OUTPUT: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>Y2hhcnNldD11dGYtOCx1c2VybmFtZT0iYWxsLXhtcHAtdGVzdCIscmVhbG09InRlc3QtZCIsbm9uY2U9IjVXVzc2YW9PRWNZQ2RSTmp4WWJUUng3dzRPS0cyeE1YUmdVYWtsNlciLG5jPTAwMDAwMDAxLGNub25jZT0iZWs1NlVlYk91VTgydVh0b2RCclJMNyszcU9EUS9jMUxlazlwYkE5UCIsZGlnZXN0LXVyaT0ieG1wcC90ZXN0LWQiLG1heGJ1Zj02NTUzNixyZXNwb25zZT04Y2E5YjEyNWNiMTM0ODZjOGY5MmVkNDIzNWI1ZWVjYSxxb3A9YXV0aCxhdXRoemlkPSJhbGwteG1wcC10ZXN0Ig==</response>
INPUT: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl">cnNwYXV0aD02YWE0NzQ1NzE3ZmQyNTM3OTNhZDVjZDhlMTY4Y2JiOA==</success>
OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream xmlns="jabber:client" version="1.0" xml:lang="en" id="dfa7dbeb-d429-41f2-8ace-e031afcb42db" xmlns:stream="http://etherx.jabber.org/streams" from="test-d"/>
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" type="result" id="bind1"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>all-xmpp-test@test-d/def-user-resource</jid></bind></iq>
OUTPUT: <iq type="get" id="1"><not-yet-supported xmlns="test:unsupported:feature"/></iq>
INPUT: <iq to="all-xmpp-test@test-d/def-user-resource" type="error" id="1"><not-yet-supported xmlns="test:unsupported:feature"/><error type="cancel" code="501"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Feature not supported yet.</text></error></iq>
OUTPUT: <iq xmlns="jabber:client" to="test-d" type="get" id="agsXMPP_3"><query xmlns="jabber:iq:agents"/></iq>
INPUT: <iq xmlns="jabber:client" to="all-xmpp-test@test-d/def-user-resource" type="error" id="agsXMPP_3" from="test-d"><query xmlns="jabber:iq:agents"/><error type="cancel" code="501"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Feature not supported yet.</text></error></iq>
