Realize resumable upload http client.