… frames in general.
…used. The first bug only manifests with frames that must be sent over multiple packets; otherwise, a new frame buffer is cons'ed anyway. The second bug means that message bodies sent over more than one data packet were junk, since they were copied over the existing frame data; but worse, that frames never ended, since the number of data remaining for the frame is calculated from frameBuffer.used.
…x frame size anyway. (The parsing buffers vary in size)
… bit easier otherwise by using closures to encapsulate the parser state.
… message acknowledgements
… probably be bugs['url']`