code: function handle(msg) {
    log.debug('handling msg', msg)
    var to = msg.to,
      intent = msg.intent;
    if (to && intent) {
      var reply;
      // try JSON or JSON.input as input
      try {
        reply = _.get(lib_js[to], intent)(msg)
      } catch (err) {
        try {
          reply = _.get(lib_js[to], intent)(msg.input)
        } catch (deepErr) {
          log.debug('js handle fails.', deepErr)
        }
      } finally {
        // try JSON or made-JSON output
        reply = correctReply(reply, msg)
        log.debug('reply', reply)
        if (reply.to) {
          client.emit('pass', reply)
        }
      }
    }
  }
docs: 3. listener to handle incoming payload. 
  The handle for client.on('take') on getting replies
  @param  {JSON} msg Replied msg
   /* istanbul ignore next