redid the headless.py dispatcher and reinserted proxy support