Same as for http_client_test. When built in debug mode (-Og -ggdb), this tests sometime passes, sometime fails.