<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="jabber:client" xml:lang="en" id="2b404395-e7c8-4c94-ac56-0621aa2d8c54" version="1.0" from="tls-required.com" xmlns:stream="http://etherx.jabber.org/streams"/>
</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 type="get" id="reg-no-tls1">
<query xmlns="jabber:iq:register"/>
</iq>
</OUTPUT>
<INPUT test='TLS Required 1 (c2s)'>
<iq xmlns="jabber:client" type="error" id="reg-no-tls1"><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>