Update Program.cs

Make a change in the way to receive data from the client