fix #73 and fix http_connection_fail_test to catch it