prevent errors when hostname contains "protocolname" as part of it

When hostname is e.g. sftp.test.com, protocoll is not added and so lftp fails...