ServerRunner: refactor settings parsing a bit