adapts stats worker for httprequesthandler