This doesn't currently support the special `blob:` handling that `parse-url` supports. That should probably be pulled in.