Fix smoke test on systems with ipv6 localhost

Also ignore a new message in the keepalive tests generated by more recent versions of curl.