Issue #600 fix. Execute reply/2,3 in onresponse hook.

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