message: send whitespace to keep the connection alive
diff: @@ -50,6 +50,12 @@ function JabberBot(configuration) {
  console.log(toUTCDateTimeString(new Date()) + ':Connected with JID: ' + data.jid.user);
  console.log('Yes, I\'m connected!');
  request_roster();
  +
  + // send whitespace to keep the connection alive
  + // and prevent timeouts
  + setInterval(function () {
  + xmpp.conn.send(' ');
  + }, 1800000);
  });
  xmpp.on('close', function () {
  @@ -59,6 +65,7 @@ function JabberBot(configuration) {
  xmpp.on('error', function (err) {
  console.log(toUTCDateTimeString(new Date()) + ":" + err);
  + process.exit();
  });
  xmpp.on('subscribe', function (from) {
  