fix port interpretation for ssh/gsissh URLs