Transports.FTP: added session timeout and socket options.