Add URI encoding to request vars

Support phrase / multiple words
Merge pull request #1 from tzmartin/patch-1

Add URI encoding to request vars