fixed setting SSL version