public void appendDetailToRequest(WebEditorRequest request) {
        String channelId = this.socket.channelId();
        String publicKey = Base64.getEncoder().encodeToString(this.pluginKeyPair.getPublic().getEncoded());

        JsonObject socket = new JsonObject();
        socket.addProperty("protocolVersion", SignatureAlgorithm.INSTANCE.protocolVersion());
        socket.addProperty("channelId", channelId);
        socket.addProperty("publicKey", publicKey);

        JsonObject payload = request.getPayload();
        payload.add("socket", socket);
    }
Adds detail about the socket channel and the plugin public key to
the editor request payload that gets sent via bytebin to the viewer.

@param request the request
common/src/main/java/me/lucko/luckperms/common/webeditor/socket/WebEditorSocket.java