refactor
- more sensible order of arguments
- less vertical space
(really) don't use ~p unnecessarily
refactor: make handling of server config values more generic
and shrink the code as a result