Some refactoring around the SecureSocketFactory.
SecureClient library project