refine detach after process logic. add nested path params spec
test: use dup() in setting request fd to prevent closing bad fd in GC
add more config specs
fix handle_request blocking during test, add test helper follow_redirect, fix Controller#redirect