update deps
refactor: resort middleware stack, add any proxy, remove https ..
fix testcase