Added method to ensure that a device's url always contains the http scheme. This is only to make it compatible with the metadata server. This needs a better resolution.