Added support for multiple endpoints in X-Docker-Endpoints header
Docker-DCO-1.1-Signed-off-by: Joffrey F <joffrey@docker.com> (github: shin-)
Merge pull request #5199 from shin-/registry_mirrors_support

Added support for multiple endpoints in X-Docker-Endpoints header