[PATCH 1/5] server: Use AFD_POLL_* flags internally.