Proper check for ssl version