Support path parameters that are not path segments

Fixes #72