OUTPUT: <stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='test.test.test-d'> 
INPUT: <stream:stream id="bfc28e04-7d4c-4cab-8c84-dd74089a3c0b" xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" from="test.test.test-d"/>
OUTPUT: <handshake>c251bc836fd98ba0f94f68dd8ba85caf49228db0</handshake>
INPUT: <handshake/>
OUTPUT: <iq to="test-d" id="111" from="admin@test.test-d" type="set"><command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands"><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" id="111" from="test-d" type="result"/>
OUTPUT: <iq to="test-d" id="333" from="admin@test.test-d" type="set"><command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands"><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" id="333" from="test-d" type="result"/>
OUTPUT: <iq to="test-d" id="444" from="admin@test.test-d" type="set"><command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands"><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" id="444" from="test-d" type="error"><command node="USER_STATUS" xmlns="http://jabber.org/protocol/commands"><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>
