add `extra_flags` as new parameter
add `extra_flags` as new parameter

also:

* escape variables when building command line
* raise an exception when tshark is not running
* use `log`, instead of `print`, when logging

enukane/fluent-plugin-pcapng