Update parser and remove most globals. Parser now supports multiple proxy chains, but the current code only uses the first one to break up the commit.
remove old dead code.
Add more dumping debug functions.
Add capability to select a defined chain via environment variable. Many bug fixes to configfile loader.
Fix parser bug where proxy count in chain could be incremented even though no proxy was added.
Implement chain specific timeouts.
Update example config to show examples of RR usage in hypothetical situations.