Adding a warning (with the error message) when can't connect to a host. ...

...And adding the host name into the error message when failed.
This is an ABI change. I don't think the tree is currently open for ABI changes.