dlman: Broke out HTTP response formatting to a separate method; as the server component develops I get the feeling I'll want to have a union type for that.  Also added a new element to the status_update type, to track starting downloads (since that will also be sent as an update to whatever web element will be active.)