Alikins/socket counting

Example test data to run against is at https://github.com/alikins/socket-count-test-data