<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 xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="tls-required.com" id="92a76153-c228-4b53-9e37-2d49196a7df9" xml:lang="en" version="1.0"/>
</INPUT>
<INPUT test='TLS Required 1 (c2s)'>
<stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><register xmlns="http://jabber.org/features/iq-register"/><ver xmlns="urn:xmpp:features:rosterver"/><sub xmlns="urn:xmpp:features:pre-approval"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><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 xmlns="jabber:client" id="reg-no-tls1" type="error"><query xmlns="jabber:iq:register"/><error code="503" type="cancel"><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>