Check returns from setsockopt() calls (#498)
Also, fix doxygen comment for qb_util_timespec_from_epoch_get()