added EOF event for TcpManager to indicate end of stream