CLDIDE-1919 #41 Fixing NPE if using default ssl socket factory