Use single quotes where appropriate
Refactor translation into a function

* Add scoped-http-client 0.9.8 as a dependency.