Fixes #99. _dissect_uri had a hard-coded index that only worked w/ tests.