<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" version="1.0" xml:lang="en" id="7e35ab84-d9f4-4c58-ad9e-fe3baab604b8" xmlns:stream="http://etherx.jabber.org/streams" from="tls-required.com"/>
</INPUT>
<INPUT test='TLS Required 1 (c2s)'>
<stream:features><register xmlns="http://jabber.org/features/iq-register"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/><ver xmlns="urn:xmpp:features:rosterver"/><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 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 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>