Fix log typo, and tests
 * We cannot determine when data chunk is processed over send_data
   * On high load host, background I/O handler doesn't wake up long time.
   * "sleep" approach is not deterministic
 * Call Plugin#on_message directly to execute event processing on current thread