DISPATCH-1628: Use separate flag to signal locally closed connections

Sharing the connection.closed flag for local closed indication leads
to trouble with DISPATCH-1085 where an inbound large stream message is
followed closely by a connection close. Under certain conditions this
causes system_tests_one_router test_41_large_streaming_close_conn_test
to fail since the tail of the message is not received.
2 files changed