title: converse.js connect is hanging
body: <p>I have used converse.js for creating a chatbox in my website. (<a href="https://conversejs.org/" rel="nofollow">https://conversejs.org/</a>)</p>
  
  <p>The second thing I have added is a openfire (<a href="http://www.igniterealtime.org/projects/openfire/" rel="nofollow">http://www.igniterealtime.org/projects/openfire/</a>) xmpp server. </p>
  
  <p>Converse.js however keeps hanging during 'signing' and in the logs of openfire I keep getting unknown_certificate messages.</p>
  
  <pre><code>converse.initialize({
              allow_otr: true,
              auto_list_rooms: false,
              auto_subscribe: false,
              bosh_service_url: 'http://localhost:8080/xmpp-bosh', // Please use this connection manager only for testing purposes
  
              debug: true ,
              hide_muc_server: false,
              i18n: locales['en'], // Refer to ./locale/locales.js to see which locales are supported
              prebind: false,
              show_controlbox_by_default: true,
              xhr_user_search: false,
          }
  </code></pre>
  
  <p>The html containing this code is also on the same host+port so i do not have crossdomain issues. When testing with firebug and chrom-debugger I cannot find any javascript errors either. </p>
  
  <p>Connecting with Pidgin IM messenger works like a charm.
  Anyone else encountered this issue when self installing an xmpp service ?</p>