Reader: URL encode the topic name to fix crash

Fixes #2427
Merge pull request #2429 from gcorne/issue/2427-reader-tag-crash

Reader: URL encode the topic name to fix crash