Fix bug in ssh proxy authentication. Some minor code changes.

* add some info messages on stderr
* add terminate() into ssh proxy client's connectionLost method,
  server could disconnect without sending ssh_msg_disconnect and
  proxy client must terminate reactor.