channels/smartcard: make PCSC implementation even closer to WinSCard