Encodes connection url

Fixes the problem with urls like 'jobs-for-students-–-the-taxing-questions'
Fair enough, that makes sense. Would it be more expressive to encode the ID param?

```rb
response = connection.get('/%{locale}/news/%{id}.json' % { locale: I18n.locale, id: URI.encode(id) })
```