change: remove afd_fd_init, added afd_filefd_init and afd_sockfd_init macros.
add: support timer event