Extending middlewares to "full spec" HPKA