Change all socketengine methods to be static