Changed connection error messages to be more informative

The connection error messages seem to be a little confusing, because they drop the colon from the host strings, and produce the same message for two different errors (see issue #194).