Move socketengine stats into a separate class
Change all socketengine methods to be static