uclient-fetch: add support for resuming downloads