Scala implementation of https://datatracker.ietf.org/doc/draft-gregorio-uritemplate/