dump callback error's stacktrace to stderr
max body filter: reject when body exceeds a size
rename thread for better clarity: loop, handle nonblocking IO event