Content-type inspection for and with Node.js Streams