Optional export of run-time statistics in JSON
Current resolution to issue #4 (closed) .
Implements optional export of run-time statistics in JSON format. Data is exported either locally or to a remote server using secure TLS connection just like with traffic data transfer.
Calculation of queries-per-second* statistics is reworked as a moving average for the last x seconds, where x is configurable from 1 second to 1 hour in the YAML configuration file.