Establishes an FTP connection to host, optionally overriding the default
port. If the environment variable SOCKS_SERVER is set, sets up the
connection through a SOCKS proxy. Raises an exception (typically
Errno::ECONNREFUSED) if the connection cannot be established.