trouncy is a fork of bouncy that adds support for inbound header injection.
opts.responseHeaders = headers injected in response from target opts.requestHeaders = headers sent to target machine
All credit except minor modifications goes to substack. Check the LICENSE