wip on I/O loop

Lock-based approach is canceled.
wip on I/O loop

Add timespec struct which is required for kevent() timeout
wip on I/O loop

Add structs and foreign functions related to kqueue()/kevent()