Fix mismatched prototypes in the Haiku Book.
Document some classes for the Network Kit.
Use ssize_t to allow returning a negative error code