client: wrap sending messages to display into function

Let's be more structural here! It's more readable
test-runner: add copyright note