[fixed] encoded ampersands in query params

fixes #343
Merge pull request #366 from rackt/ampersands

[fixed] encoded ampersands in query params