Move rfc2396 param extraction into Path object

Also, fix the url decoding within the param extraction.