check version in plugins
check plugin version in samples
plugins have access to the HTTP headers
set cookies, not allowed methods, unauthorized in plugins
sample
sample