add support for https in the URI build API