Wraps raw DER bytes in a PEM block with the given label.
The output follows RFC 7468: base64-encoded content is line-wrapped at
64 characters, with -----BEGIN <label>----- and -----END <label>-----
header/footer lines.
Common labels: "RSA PRIVATE KEY", "PUBLIC KEY", "CERTIFICATE",
"CERTIFICATE REQUEST".
local pemS = pem.encode("PUBLIC KEY", derBytes)
-- "-----BEGIN PUBLIC KEY-----\nMIIB...\n-----END PUBLIC KEY-----\n"