// Create a self cancelling request and send it to the server. Make sure
// to include the delay request control so it won't complete before we
// can send the cancel request.
ByteStringBuilder builder = new ByteStringBuilder();
ASN1Writer writer = ASN1.getWriter(builder);
writer.writeStartSequence();
writer.writeInteger(2);
writer.writeEndSequence();
ExtendedRequestProtocolOp extendedRequest =
new ExtendedRequestProtocolOp(OID_CANCEL_REQUEST,
builder.toByteString());