Implement callbacks for handshake completion