A lightweight flow control for Node and Browser