Connect middleware that adds csp headers to responses based on a provided policy.