tcp: add the initial implementation of the block mode using epoll().