check_ip: cleanup
ssl_ca: cleanup
check_host: catch more exceptions