handler and output functions are now static

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
helloserver example added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>