src/cod: Add support for hooks
protocol: Call hooks
Merge branch 'hooks'
services/autocloak: Use hooks. Now supports inspircd