exposing ctx.res.setHeader to event scripts
added getHeader() to access request headers
added on-delete and on-put events