Setup Handshake server socket (with hardcoded handshake)
remove variable simConnected

This variable did not contian more info than clientSocket. If
clientSocket contains a positive value this is socket file descriptor
and that socket is potentially connected. Any network error should/can
be detected only during the transactions on the socket.
Add function to convert integer to HexString
Implement card presence check
Implement function HexString2Int
Use HexString2Int instead of endian error prone previous implementation
use transmit() and receive() during handshake instead of manual
implementation
move icc present to ifdPersoSim
disable stack protection
mask to only the currently used nibble
Implement PowerICC and TransmitToICC

+ consolidated fixes from last few hours debugging
* use correct PCSC function from parameter in exchangePcscFunction
* add '\0' string termination in extractPcscResponseCode
* some renaming for clarity
Reenable stack protection

* Fix too small buffer size bug that required disabling it in the first
place
Code cleanup

* remove some old functions/constants
* beginm to implement other PCSC funtcions
forward IFDHGetCapabilities to client
Untested implementation of PCSC function forwarding to client

* IFDHControl
* IFDHSetCapabilities
* IFDHSetProtocolParameters

Aligned debugging output
Fix offset om IFDHControl (to include the last divider)

Also adjusted some debug outputs to present some data in HEX to be
better recognized
Move handshake connection handling of to a thread

This allow the reader to connect later after pcscd is already
initialized
Prepare driver for multiple connections

Current state allows multiple readers to acces the same connector (which
is wired). This is the basis to allow multiple connectors to connect
through the same handshake server and get different Luns assigned, which
will follow in the next commits
Fixed the data type errors caused by missing l modifiers
to be reviewed, allow readers to connect during runtime (given a pcscd
that checks serial readers on sigusr)