parse path segment as URI

* added routing directive to extract path params
* added a few extra apply() methods to ProbeRef companion object