dlman: Added a read loop (to become a full separate thread as a part of the daemon), as well as a function to send a download request to a running daemon.