Use strncpy instead of strcpy for security reasons.
Make 'rendered' parameter const.
Remove blank before semicolon.
Add test stub to measure speed of message handling.
Add client test program to measure speed of message handling.