CORE-4636: changed the way that FTP URLs are validated