app_test: Handle Travis CI slowness on test scripting hooks
connection: Handle SSLErrors with "unknown ca".