Use Addressable for parsing the Curb host if defined

Fixes parsing urls that URI does not support (non-ascii, amazonaws, etc).

This is a patch by Boris ([reist/rpm_contrib/2.1.11patched](https://github.com/reist/rpm_contrib/tree/2.1.11patched)), which I have amended just a little.

Thanks,
Amir