Tracks connections by socket id.