Adding pre/post interceptor hooks

Patch adds pre post interceptor hooks, they are both global and called at start / end of the pipeline, post has explicit exception handling but wasnt sure if we need to clear the response body prior to writing to the stream.