[Engine-XMPP] fixed encrypted connections (closes: #890)

default is to try StartTls and automatically fallback to plain
if encryption is enabled, legacy SSL is used