fix post form without ct
handle DNS failure: call err_h()
add callbacks to cli program
update readme