code: function remote(filename, fullName, name) {
              if (!options.server) {
                  return function () {
                      if (verbose.remote) console.log('Could not read', filename);
                      response.write(
                          'define(\'' + escape(fullName) + '\', function () {\n' +
                          '  console.log("Could not read \'' +
                              escape(name) + '\'");\n' +
                          '  throw new Error("Could not read \'' +
                              escape(name) + '\'");\n' +
                          '});\n');
                  };
              }
              remoteCounter++;
              var chunks = [];
              var URL = url.resolve(options.server,
                                    'api/apps/load/' + version + ',' + fullName);
              var opt = url.parse(URL);
              opt.headers = request.headers;
              delete opt.headers['accept-encoding'];
              delete opt.headers.host;
              opt.rejectUnauthorized = options.rejectUnauthorized;
              protocol.get(opt, ok).on('error', error);
              return function () {
                  if (verbose.remote) console.log(URL);
                  for (var i = 0; i < chunks.length; i++) response.write(chunks[i]);
              };
              function ok(res) {
                  if (res.statusCode === 200) {
                      res.on('data', chunk).on('end', end);
                  } else {
                      res.resume();
                      console.log('HTTP error ' + res.statusCode + ' for ' + URL);
                      chunk('console.log(\'HTTP error ' + res.statusCode + '\');\n');
                      end();
                  }
              }
              function error(e) {
                  console.log('Server error for ' + URL + ' : ' + e.message);
                  chunk('console.log(\'Server error: ' + e.message + '\');\n');
                  end();
              }
              function chunk(data) { chunks.push(data); }
              function end() { if (!--remoteCounter) complete(); }
          }
docs: remote file