delete debug output
add TODOs.
fix http proxy bug.