Better status/error messages when connecting to server.