Make `URI.encode*` to work only with binaries
Merge pull request #2419 from lexmag/uri-binaries

Make `URI.encode*` to work only with binaries