If creating a connection with hostname like scp://..... or sftp:// sourcesync fails to connect to the remote host. This fixes that problem.