Introduce socket class.
 Add missing files.