Fix a security issue with the cert provided in a gcc packet

This patch ensure that a gcc packet does not contain more than 32 certificates
as it's the size array that will store them. Most probably having more than
32 certificates means that it's an attack.

As exercise, 3 lines later before calling d2i_X509() the remaining bytes in the
stream should be checked.

No sure a CVE is needed for that fix.
Fixed sesman and test authentifier to use objects instead of keys
Merge branch 'future' of github.com:wallix/redemption into future
fixed assertion
Merge branch 'regexoptimize_multichar' into future
Merge branch 'future' of github.com:wallix/redemption into future
Moved socket's wait_obj into Session.
Replace socket descriptor inside of wait_obj by pointer of SocketTransport.
Read data buffered inside SSL object.
Merge branch 'future' of github.com:wallix/redemption into future
Merge branch 'future' of github.com:wallix/redemption into future
Fix compilation errors
Updated sesman
Merge branch 'future' of github.com:wallix/redemption into future
Integration of gcc security issue from hardening
Merge branch 'future' into hardening-gcc_fix
Radius RSA challenge
Merge branch 'future' of github.com:wallix/redemption into future
Challenge Radius RSA: add challenge user in engine
Support of RDP MultiOpaqueRect Primary Drawing Order. (WIP)