Fix the default ssl behavior