simple apache-like config file parser