cleanup
Move some of the threading logic out of base evhtp