Message router again properly forwards terminate messages to the server.

At the same time I have reduced the complexity of the forwarding logic.
Merge pull request #216 from robertmaynard/workers_now_report_they_have_termianted

Message router again properly forwards terminate messages to the server.