socket protocol updated in Simulation
Simulation.cpp merged