code: function () {
          this.stage++;
  
          var that = this;
          //logger.log('send_nonce called');
  
          CryptoLib.getRandomBytes(Handshake.NONCE_BYTES, function (ex, buf) {
  
              that.nonce = buf;
              that.socket.write(buf);
  
  //            if (buf) {
  //                logger.log("sent nonce ", buf.toString('hex'));
  //            }
  
              //a good start
              that.nextStep();
          });
  
      }
docs: 2.) Server responds with 40 bytes of random data as a nonce. * Core should read exactly 40 bytes from the socket. Timeout: 30 seconds.  If timeout is reached, Core must close TCP socket and retry the connection.