import clone of server.c, with the download guts stripped.
will reimplement it.
server2: reimplement basic stuff for downloads
also implement libfetch method of handling
FTP passive and proxy support
server2: implement initial outer loop for downloads