Escape unsafe characters in params and query-string.

Safety first please.