Measuring latency introduced by network hops through a servlet container