private void sendMessage(String message, boolean finalFragment)
throws IOException {
ByteChunk bc = new ByteChunk(8192);
C2BConverter c2b = new C2BConverter(bc, "UTF-8");
c2b.convert(message);
c2b.flushBuffer();
int len = bc.getLength();
assertTrue(len < 126);
byte first;