Use Addressable for parsing host if defined

Fixes parsing urls that URI does not support (non-ascii, amazonaws, etc)