Coding style changes in socketengines