protected transient SSLContext sslContext;
protected synchronized SSLContext sslContext() {
if (sslContext == null) {
try {
TrustManager trustManager = new ConfigurableX509TrustManager(
getSslTrustLevel());
sslContext = SSLContext.getInstance("SSL");
sslContext.init(null, new TrustManager[] {trustManager}, null);
} catch (Exception e) {
logger.log(Level.WARNING, "Failed configure of ssl context "