fixes #359

- If connection fails, dies with "Couldn't connect to $server".
- If authentication fails, dies with "Wrong username/password
  or wrong key on $server.".