1. <?xml version='1.0' encoding='UTF-8'?>
  2. <stream:stream xmlns:stream="http://etherx.jabber.org/streams"
  3.               xmlns="jabber:client"
  4.               from="test.local"
  5.               id="c1052bae"
  6.               xml:lang="en"
  7.               version="1.0">
  8.   <stream:features>
  9.     <mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
  10.       <mechanism>DIGEST-MD5</mechanism>
  11.       <mechanism>PLAIN</mechanism>
  12.       <mechanism>ANONYMOUS</mechanism>
  13.       <mechanism>CRAM-MD5</mechanism>
  14.     </mechanisms>
  15.     <compression xmlns="http://jabber.org/features/compress">
  16.         <method>zlib</method>
  17.     </compression>
  18.     <auth xmlns="http://jabber.org/features/iq-auth"/>
  19.     <register xmlns="http://jabber.org/features/iq-register"/>
  20.   </stream:features>