Various fixes; reduce latency

The latency reduction is done by sending the multipart boundary after
the current frame rather than right before the frame. The latency
measurement multipart parser looks for the boundaries rather than the
size header. Not sure if browsers do the same.