Fix SocketSingle nonblocking read.
Added IOObserver class, based on linux epoll.