Fix query string encoding

Here's what I did to fix the problem sending DMs containing characters in the set [!'*()].