protocol.h: include string.h for strnlen(3)