Client attempts to connect on startup, and provides an error if it can't.