Enhance logging message when connection fails

- add I/O to the message to tell the user that the
  root issue was an I/0.
- add the complete stack trace to the debug level
  in case it is needed for debugging.

When connection error happens, the CLI message will be something like :

Reason: Error could not execute operation '{
    "address" => [],
    "operation" => "read-attribute",
    "name" => "launch-type"
}'.

This can be quite deceiving as there is no indication this in fact related to I/O. Even if the original exception is passed to the newly IllegalStateException, the original information are not printed out by maven, so I also added this exception to the debug level.