Fix escaped special chars in urlencoded parameters string incorrectly normalized

This pull request fixes #5769