Added X.509 JWT middleware helper