Patch for http-proxy library for intercepting the proxified response