OUTPUT: <stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
INPUT: <stream:stream version="1.0" xml:lang="en" from="test-d" id="1b2202ea-bccd-42e9-875d-819079c07a1f" xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams"/>
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></mechanisms><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>
OUTPUT: <iq type='get' id='all-xmpp-test_1' to='test-d'><query xmlns='jabber:iq:auth'><username>all-xmpp-test</username></query></iq>
INPUT: <iq type="result" from="test-d" id="all-xmpp-test_1"><query xmlns="jabber:iq:auth"><username/><password/><digest/><resource/></query></iq>
OUTPUT: <iq type='set' id='all-xmpp-test_2'><query xmlns='jabber:iq:auth'><username>all-xmpp-test</username><password>all-xmpp-test-password</password><resource>xmpp-test</resource></query></iq>
INPUT: <iq type="result" id="all-xmpp-test_2">Authentication successful.</iq>
OUTPUT: <iq type="get" id="privacy_1" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_1"><query xmlns="jabber:iq:privacy"/></iq>
OUTPUT: <iq type="set" id="privacy_2" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><list name='public'><item type='jid'	value='tybalt@example.com' action='deny' order='3'/><item type='jid' value='paris@example.org' action='deny' order='5'/><item action='allow' order='68'/></list></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_2"/>
OUTPUT: <iq type="get" id="privacy_3" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_3"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
OUTPUT: <iq type="get" id="privacy_4" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_4"><query xmlns="jabber:iq:privacy"><list name="public"><item order="3" action="deny" type="jid" value="tybalt@example.com"/><item order="5" action="deny" type="jid" value="paris@example.org"/><item order="68" action="allow"/></list></query></iq>
OUTPUT: <iq type="set" id="privacy_5" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><active name="public"/></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_5"/>
OUTPUT: <iq type="get" id="privacy_6" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_6"><query xmlns="jabber:iq:privacy"><list name="public"/><active name="public"/></query></iq>
OUTPUT: <iq type="set" id="privacy_7" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><default name="public"/></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_7"/>
OUTPUT: <iq type="get" id="privacy_8" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_8"><query xmlns="jabber:iq:privacy"><list name="public"/><default name="public"/><active name="public"/></query></iq>
OUTPUT: <iq type="set" id="privacy_9" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><default/></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_9"/>
OUTPUT: <iq type="get" id="privacy_10" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_10"><query xmlns="jabber:iq:privacy"><list name="public"/><active name="public"/></query></iq>
OUTPUT: <iq type="set" id="privacy_11" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><active/></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_11"/>
OUTPUT: <iq type="get" id="privacy_12" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_12"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
OUTPUT: <iq type="set" id="privacy_13" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"><list name="public"/></query></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_13"/>
OUTPUT: <iq type="get" id="privacy_14" from="all-xmpp-test@test-d/xmpp-test"><query xmlns="jabber:iq:privacy"/></iq>
INPUT: <iq type="result" to="all-xmpp-test@test-d/xmpp-test" id="privacy_14"><query xmlns="jabber:iq:privacy"/></iq>
