Problems by HOST_IS_SLAVE check

* fix missing method details on exception
* add missing urlparse