Improve urldecode error message on incorrectly encoded strings. CC #227.