Fix for #703: Allow speficying custom trust managers for SSL