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

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