Added nonce verification

Added nonce verification to handshake. Also note that in this commit I
changed the debug level to INFO, DEGUG level is kind of painful.