[WIP] Socketing

- As per my last commit message, I was able to clean up some of the internals for socketing. The total number of sockets is now an item stat.