title: Node.js TCP input buffering
body: <p>I'm not sure I got this right yet, but as I understand it, when I attach a handler to the <code>data</code> event, it gives me all the data it got until then. The problem is, how do I handle buffering that data, as Node.js might give me less that 4 bytes at a time (which is the minimum I need), especially when there will be multiple concurrent requests?</p>