Fixed to use https protocol if present

It seems that the script to upload meta data about our pingdom-monitored domains didn't correctly extract the protocol from the pingdom data dictionary. All domains ended up being HTTP, including the HTTPS ones. This fixes that, by determining if encryption = true, and determining the protocol accordingly.