fixed ssl port str/int conflict