OUTPUT: <stream:stream xmlns='jabber:component:accept' xmlns:stream='http://etherx.jabber.org/streams' to='test.test.test-d'> 
INPUT: <stream:stream id="7a852b7e-8a28-4fc7-9cfa-6065835c0c78" xmlns="jabber:component:accept" xmlns:stream="http://etherx.jabber.org/streams" from="test.test.test-d"/>
OUTPUT: <handshake>4e49c72e45f22894c63efe9ae9881d69c30b0825</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 code="404" type="cancel"><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>
