plugin: compatibility with cocaine v0.12