public void testByteOverflowMetadata() throws Exception {
ByteArrayInputStream bais1 = new ByteArrayInputStream(raw5);
ByteArrayInputStream bais2 = new ByteArrayInputStream(raw5);
ByteArrayInputStream bais3 = new ByteArrayInputStream(raw5);
WebSocketCodec codec = new WebSocketCodec(true, false);
String s = new String(codec.decode(bais1));
System.out.println(s);
assertTrue(s.startsWith("REGISTER"));
s = new String(codec.decode(bais2));
System.out.println(s);
s = new String(codec.decode(bais3));