Added ssl version switch