Added the socket class infrastructure in C#