added client server socket class