server: load config before loading listeners