Add word count example test.
Add file sender example.
Improve resending of failed messages in output connections.