http client programming model using epoll