I put LSS on the same machine as the webserver and created a DNS record "test.domain.com". Here is the new client side code:

Code:
<html>
 <head>
    <script src="ls/lscommons.js"></script>
    <script src="ls/lspushpage.js"></script>
  </head>
  <body>
	
  <script language="javascript" type="text/javascript">

  var lsPage = new PushPage();
  lsPage.context.setDomain(null);
  lsPage.onEngineCreation = startEngine;
  lsPage.onEngineReady = engineReady;
  lsPage.bind();
  lsPage.createEngine("SLEngine", "ls/");

 function startEngine(eng) 
 {
   eng.policy.setMaxBandwidth(30);
   eng.policy.setIdleTimeout(30000);
   eng.policy.setPollingInterval(1000);
   eng.connection.setLSHost("test.domain.com");
   eng.connection.setLSPort(8080);
   eng.connection.setAdapterName("HEADLINESDEMO");
   eng.changeStatus("STREAMING");
}

function engineReady ()
{
    var newTable = new NonVisualTable(new Array("item"), new Array("id", "hdln","smbl","body","tpcid","cmnd"), "DISTINCT"); 
    newTable.onItemUpdate = updateItem; 
    lsPage.addTable(newTable, "1");
}

function updateItem(item, updateInfo, name) 
{
    trace (...);
}

 </script>
</body>
</html>
I am still on the same page. When this page is opened in the browser I see "Streaming system is connecting..." message