code: function () {
  
  	if (l_ip_port === undefined) {
  		LOG.warn('not init (or already disposed), cannot connect to server');
  		return;
  	}
  
  	if (l_connector === undefined)    
  		l_connector = new SR.Connector(l_config);
  
      // establish connection
  	LOG.warn('connecting to: ' + l_ip_port);
  	l_connector.connect(l_ip_port, function (err, socket) {
  		
  		if (err) {
  			// try-again later
  			LOG.warn('attempt to re-connect in: ' + l_timeoutConnectRetry + 'ms');
  			setTimeout(l_connect, l_timeoutConnectRetry);
  			return;
  		}
  				
  		LOG.warn('connection to: ' + socket.host + ':' + socket.port + ' established');
          l_connector.send('SR_REGISTER_SERVER', l_para, 'SR_REGISTER_SERVER_R', function (res) {
              console.log(res.data);
          });
  	});    
  }
docs: connect to cloud server