doc: Include libevent-client.c source code in the tutorial