Add support for other protocols in urls such as https