<test-history test='TLS Required 1 (c2s)'>
<OUTPUT test='TLS Required 1 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='tls-required.com' version='1.0'/>
</OUTPUT>
<INPUT test='TLS Required 1 (c2s)'>
<stream:stream id="ac432f41-4ca1-4282-98ab-0b1795c13b9d" xmlns:stream="http://etherx.jabber.org/streams" version="1.0" from="tls-required.com" xmlns="jabber:client" xml:lang="en"/>
</INPUT>
<INPUT test='TLS Required 1 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression></stream:features>
</INPUT>
<OUTPUT test='TLS Required 1 (c2s)'>
<iq id="reg-no-tls1" type="get">
<query xmlns="jabber:iq:register"/>
</iq>
</OUTPUT>
<INPUT test='TLS Required 1 (c2s)'>
<iq id="reg-no-tls1" type="error" xmlns="jabber:client"><query xmlns="jabber:iq:register"/><error type="cancel" code="503"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Service not available.</text></error></iq>
</INPUT>

</test-history>