channels/smartcard: cleanup ConnectA/ConnectW parsing