Issue #24. Added event counter for devices and enabled Nagle by default.