Add more info to exception notification

Include additional header info in the exception notification.
Move headers list to separate class

In order to reuse the list of headers in the duration, I moved the
header look up logic to a separate class that could then be used by
both the exception notification and duration.