Changed escapeScope param to encodeScope

In my previous pull request, I named this param ambiguously. It should
be named encodeScope, not escapeScope; because the bool flag is
referring to the URL-encoding of the scope parameter. “Escape” is the
wrong terminology.