Default heartbleed to tls 1
Fix XMPP handshake