Make it easy for people to customize the logic used to validate SSL certs. In particular:
Determine if cert chain is trusted
Accept expired certs or ones that haven't started yet.
Created new ServerTrustManager. Configuration is now possible by passing a ConnnectionConfiguration object to the XMPPConnection when creating a new instance. ConnnectionConfiguration allows to enable/disable certificates checkings and also to configure the truststore to use.