Allowing protocol relative URLs for files

Not unit tested but run in tandem with my dev environment for a while. Sorry - my test suite is borked! (please don't kill)