Refactored config parser to avoid overwriting defaults if options not in configuration file, added reconnects config parameter to session manager