Get dependencies metadata from Dapi + HTTPS API calls

Two changes in one PR, sorry for that, I needed to fix one during working on the other.

Reed commit messages for further information. Especially the HTTPS one is very verbose.