Encodes connection url

Fixes the problem with urls like 'jobs-for-students-–-the-taxing-questions'
I prefer the look of this