final OpenConnectionRequest msg) {
ByteBuf extras = ctx.alloc().buffer(8);
extras
.writeInt(msg.sequenceNumber())
.writeInt(msg.type().flags());
<BUG>String key = msg.connectionName();
byte extrasLength = (byte) extras.readableBytes();
short keyLength = (short) key.getBytes(CharsetUtil.UTF_8).length;
BinaryMemcacheRequest request = new DefaultBinaryMemcacheRequest(key, extras);</BUG>
request.setOpcode(OP_OPEN_CONNECTION);

final OpenConnectionRequest msg) {
ByteBuf extras = ctx.alloc().buffer(8);
extras
.writeInt(msg.sequenceNumber())
.writeInt(msg.type().flags());
byte[] key = msg.connectionName().getBytes(CharsetUtil.UTF_8);
byte extrasLength = (byte) extras.readableBytes();
short keyLength = (short) key.length;
BinaryMemcacheRequest request = new DefaultBinaryMemcacheRequest(key, extras);
request.setOpcode(OP_OPEN_CONNECTION);
