Problems by HOST_IS_SLAVE check

* fix missing method details on exception
* add missing urlparse
Merge pull request #4 from drscream/master

Problems by HOST_IS_SLAVE check