Begin implementing socket class