Remove len() method from FdBuffer.

Also remove the func logic in the fork loop.
Add on_exit method to the EventLoop.
Add child life detection support.

Just the initial support, nor perfect.