added support for node-xmpp legacy ssl