Node-passthrough-stream is a project mainly written in JavaScript, it's free.
An example of a passthrough stream for node.js
404: Not Found