Using Hubot and the hubot-xmpp adapter, I wasn't able to connect to a corp Jabber server running Openfire 3.6.4, with a seemingly different SSL configuration than the stock Openfire one. The node-xmpp client would simply hang after receiving the stanza "<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>". I've seen several other posts from users experiencing the same issue. Replacing the "starttls.js" file that ships with node-xmpp with this gist fixes the problem for me. Note this requires node 0.8.x or newer.