Add support for ftp_proxy environment variable.