Improvements.

Added http context with repo for ssl, also added some
diag logging to investigate more registry index download.
Merge branch 'nexus-2.10.x' into nexus-2.10.x-NEXUS-6863-registry-eof