Storing full session data into socket handshake.