guard,knotserver/internal: move guard logic to internal server
This will allow running guard without passing every single config
options
Signed-off-by: Seongmin Lee <git@boltless.me>
authored by
boltless.me
and committed by