added ssl port support