OUTPUT: <stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='test.test.test-d'> 
INPUT: <stream:stream xmlns="jabber:component:accept" id="60317571-d2dd-48aa-9349-18b03ad96deb" xmlns:stream="http://etherx.jabber.org/streams" from="test.test.test-d"/>
OUTPUT: <handshake>909bec17f60652edae695c80b7c38e68db7aecab</handshake>
INPUT: <handshake/>
OUTPUT: <iq to="test-d" type="set" id="111" from="admin@test.test-d"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS"><x xmlns="jabber:x:data" type="submit"><field var="jid"><value>all-xmpp-test@test-d/def-user-resource</value></field><field var="available"><value>true</value></field></x></command></iq>
INPUT: <iq to="admin@test.test-d" type="result" id="111" from="test-d"/>
OUTPUT: <iq to="test-d" type="set" id="333" from="admin@test.test-d"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS"><x xmlns="jabber:x:data" type="submit"><field var="jid"><value>all-xmpp-test@test-d/def-user-resource</value></field><field var="available"><value>false</value></field></x></command></iq>
INPUT: <iq to="admin@test.test-d" type="result" id="333" from="test-d"/>
OUTPUT: <iq to="test-d" type="set" id="444" from="admin@test.test-d"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS"><x xmlns="jabber:x:data" type="submit"><field var="jid"><value>all-xmpp-test@test-d/def-user-resource</value></field><field var="available"><value>false</value></field></x></command></iq>
INPUT: <iq to="admin@test.test-d" type="error" id="444" from="test-d"><command xmlns="http://jabber.org/protocol/commands" node="USER_STATUS"><x xmlns="jabber:x:data" type="submit"><field var="jid"><value>all-xmpp-test@test-d/def-user-resource</value></field><field var="available"><value>false</value></field></x></command><error type="cancel" code="404"><item-not-found xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">The user resource you want to remove does not exist.</text></error></iq>
