Intercept and mock outgoing network TCP/TLS connections
github.com/gr2m/node-net-interceptor
gr2m/node-net-interceptor