libknc.h needs to include sys/uio.h to get iovec
Begin error handling cleanup
Make test/testknc.c build
Improve error handling