0xDiablos

I encountered the same problem, and just reading again from the socket works. It sends the echo message first, then the flag, so I had to read twice.