Hi, there's a little issue in the ReadStream() method which can cause the loss of the last line from the server:
modify it in:
modify it in:
string line = string.Empty;
while ((line = reader.ReadLine()) != null)
{
Console.WriteLine(line);
}