Connect error handling and reporting to the user

If the connect info is incorrect, the user currently gets a "can't call method on undef".

This patch will catch the failed connect and report info to the user that's useful to trouble shooting why the connection failed.