REST and resumable download client for nodejs