dlman.ml: Making some progress on this; it now has a way to check that the directory that will be used by the daemon is locked to the daemon, and will exit otherwise.  It remains to establish a proper daemon launcher, however, which will provide a way to feed in a download address.