[1.0.x] changed the method of url encoding in query string. #9

Please review #9 , and merge to 1.0.x branch.