change parameter and macro from hot-latency to io-latency
free resources correctly when exit
first create hash-tables and then register hook to avoid using uninitial structures in peek_request and end_request