Set CURLOPT_TCP_NODELAY to 1 to speed up localhost connections