FtpHostInfoCache: check ranges and return a default value
FTP: support transfer mode and encoding