code: function serveClientFile(req, res, sid){
    var entitytag = sid + clientVersion;
    if (req.headers['if-none-match'] == entitytag){
      // ETag matches; 304 Not Modified
      res.writeHead(304);
      res.end();
    } else {
      var data = "var CONNECT_SID = '" + sid + "';\n" + clientData;
      var clientFile = {
        headers: {
          'Content-Length' : data.length,
          'Content-Type'   : 'text/javascript',
          'ETag'           : entitytag
        //'Cache-Control'  : 'no-cache',
        //'Pragma'         : 'no-cache',
        //'Expires'        : 'Sat, 01 Jan 2000 00:00:00 GMT'
        },
        content: data,
        encoding: 'utf8'
      };
      res.writeHead(200, clientFile.headers);
      res.end(clientFile.content, clientFile.encoding);
    }
    return true;
  }
docs: Serve up the custom client Javascript (session ID included).
  
  @param {Object} HTTP Request object
  @param {Object} HTTP Response object
  @param {String} session ID
  @api private