URI.query_parameters: Recode query string before parsing

[Issue #505]