Fix const with URLHandler

This fixes your problem with trunk but it won't build in older versions. Bins will run fin in any version.