libknc.h: add #include <sys/mman.h>.
libknc: change knc_is_established to knc_is_authenticated.

This now matches the documentation.
libknc: implement knc_authenticate() as documented.