V2.26: node statistics and bugfixes

* big statistics update (rps, counters, errors)
* zero-length write bugfix
* ldflags fix for trusty
* indent cleanups