added new callbacks for Certificate Verification and Handshake completion