Introduce UrlAdapter

For now it's just a class with static methods.
The hostname is still hardcoded but at least it
is now in one place.

In longer run UrlAdapter should be an object injected
into usecases.
Merge pull request #55 from X8/url_adapter

Introduce UrlAdapter