Added first implementation of connection statistics