accounted for https in url detection