Draft socket class.