Tweak the url parsing logic to support other protocols than file://,
like https://