Added basic state machine for IS-IS three-way handshake