libknet: fix set/get_timeout and document them

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>