Exposing the canonicalization code in the luafilter allows it to be used on the Lua side of things. This should enable some pretty cool stuff to be done with it.