Fix IOObserver timeoutCallback initialization and add missing flag for
edge-triggering epoll.
Add missing listen call in SocketListener.