.match: pass params to callback

@yoshuawuyts not sure how you'd want this, but I need access to params for an application using this.

I'll write tests if you want once the api is settled.