parseCanonicalUri() needs to be static as it's only referenced staticall...

`parseCanonicalUri()` is only referenced in one place: `self::parseCanonicalUri(...)`, this fails.