Fixed socket class (again).