DE-809: Added code to check if a string is URL encoded. It's hokey and
error-prone, but better than the nothing we had before.