performance: use Linux extended syscalls and flags

reduce syscalls on Linux using extended syscalls and flags,
e.g. accept4(), pipe2(), O_CLOEXEC, SOCK_CLOEXEC, SOCK_NONBLOCK
add bpoll event framework as fdevent option