Add HttpWebRequest resource monitor

(cherry picked from commit 3bd2d52f81d3d9d078af0d4ead4a429b6d693b59)
Extracting http header from web response for exception handling
Merge remote-tracking branch 'origin/feature/PassingHttpHeaderToExceptions' into trunk