Thread and Smartcard
This series should finish the Smartcard changes.
I still had a subtest for Smartcard but it was not working due
to a small issue in RedChannelClient
.
In order to fix that issue I used an old series which was not
merged which was fixing some minor issues on RedClient
.
Beside removing minor issues the changes will allows the client to connect to closed channels.