message: [Sockets] send calculates typing length
  Copied from Facebook replyWithTyping function
diff: @@ -115,6 +115,19 @@ function SocketBot(configuration) {
  try {
  console.log('sending type ahead');
  bot.ws.send(JSON.stringify({typing:true}));
  +
  + var textLength;
  + if (message.text) {
  + textLength = message.text.length;
  + } else {
  + textLength = 80; //default attachement text length
  + }
  +
  + var avgWPM = 85;
  + var avgCPM = avgWPM * 7;
  +
  + var typingLength = Math.min(Math.floor(textLength / (avgCPM / 60)) * 1000, 5000);
  +
  setTimeout(function() {
  console.log('sending for reals');
  try {
  @@ -125,7 +138,7 @@ function SocketBot(configuration) {
  }
  if (cb) cb(null, message);
  - },1000);
  + }, typingLength);
  } catch(err) {
  console.error('ERROR SENDING', err);
  }
  