implementation of WFLY-2510

Add CLI command to display information about current connection.
What if the connection actually fails? I think in that case you should reset the just initialized connection info in the catches below.