Establish connection statistics

Closes #185 and #186