added new socket.io event for downloading