Add connection reference in handshake

Make the connection object reference available in handshake data so
that servers that need to authorize based on connection data (e.g.
source IP), to make decisions based on the client certificate etc, can
do so.