unencrypted logins don't work
Logging in to a jabber host that only supports unencrypted logins (not using tls, ssl) seems to fail. You can try it yourself by registering an email account at www.gmx.net. The email adress will also work as jabber id. Trying this with gossip and gaim worked. I'm pasting the xml for the failed connection attempt:
\<?xml version='1.0'?>
\<stream:stream xmlns="jabber:client" to="gmx.net" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" >
\<?xml version='1.0'?>
\<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2882449526' from='gmx.net' version='1.0' xml:lang='en'>
\<stream:features>
\<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
\<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
\<mechanism>PLAIN\</mechanism>
\</mechanisms>
\<register xmlns='http://jabber.org/features/iq-register'/>
\</stream:features>
\<starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
\<proceed xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
\<?xml version='1.0'?>
\<stream:stream xmlns="jabber:client" to="gmx.net" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" >
\<?xml version='1.0'?>
\<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1638421794' from='gmx.net' version='1.0' xml:lang='en'>
\<stream:features>
\<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
\<mechanism>PLAIN\</mechanism>
\</mechanisms>
\<register xmlns='http://jabber.org/features/iq-register'/>
\</stream:features>
\<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="PLAIN">(hash removed)\</auth>
\<failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
\<bad-auth/>
\</failure>
\</stream:stream>
\</stream:stream>