Use chunked upload for Docker Registry replication
See https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/3809#note_197942779 for details
We currently stream file to local file system then stream it to a secondary registry. We can eliminate this stage by downloading the chunk of a file into memory and uploading it to a secondary registry. Then repeat until file ends.