Proxy for converting binary body payload (a buffer) to string with custom encoding. If encoding is not specified, it doesn't convert a buffer to string.
Used to workaround default nodejs http encoding to utf-8 (e.g. in Mountebank).
npm install encoding-proxy
./bin/encoding-proxy --target=https://localhost:8000 --port=8001 --insecure=true --encoding=binary
--target=http://localhost:3000
--port=3001
--insecure=false
--encoding=
utf8
binary
base64
hex
ucs2
utf16le
ascii