Added encoding of query string parameters.
Authored by: keess 2015-04-23
Parent: [r2729]
Child: [r2731]