support 1.1 version of CSP

fixes #1022