Now works with all urls specifying protocol as http or https