Execute reply/2,3 in onresponse hook.

Fix #600. Allow set_res_header/3 and set_resp_body/2, reply/2 and reply/3 in onreponse hook.