dispatch responds to changes of path_info by before_request hooks
counter-fix for Issue #181
Merge branch 'pr/181'