Benchmark http and tcp