Don't use SecureSocketFactory when it isn't needed.