getSocketFactory() should only be called on a sslContext that has been initialized.
Merge pull request #47 from mores/CASC-208

[CASC-208] Prevent unnecessary log errors