Improvements.

Added http context with repo for ssl, also added some
diag logging to investigate more registry index download.