some useful setsockoptions
cmsg syntax and some options for reference
log: need even more generic logging warning and error functions than this

needs to run as a network daemon so merely passing file descriptors
around won't work. Something like this filled out...

struct cb {
	(void *) *warn ( int err, char * message) );
	(void *) *info ( int err, char * message) );
	(void *) *error ( int err, char * message) );
}

and a template for various normal, network, json
call backs to fit into that (think my syntax is wrong
above anyway)

then we'd use it with

log_warn(o->cb,errno, "message");
rfc update