Fixes for Typed Params

I simplified the url parsing logic, and merged path param-parsing with querystring param-parsing.