Added select/epoll timeout option to server