pub async fn create_https_server(
    address: String,
    domain: String,
    opt_tls_params: Option<&TlsConfiguration>,
    role: ServerRole,
    trust_x_forward_for: bool,
    cookie_key: &[u8; 32],
    jws_signer: JwsSigner,
    status_ref: &'static StatusActor,
    qe_w_ref: &'static QueryServerWriteV1,
    qe_r_ref: &'static QueryServerReadV1,
    rx: Receiver<CoreAction>
) -> Result<JoinHandle<()>, ()>