Tool to monitor and log a single HTTP connection on Linux?

view story

http://stackoverflow.com – We're trying to debug an issue with a server that must receive and respond to a large number of persistent HTTP connections. Ideally we'd like a tool that could pick (at random) a single HTTP connection and log all traffic to and from it, such that we can see what is going on. Unfortunately we don't have the ability to limit the number of persistent connections we must respond to (typically it is thousands of them), so we really need to tool to narrow down its monitoring to just a single connection. Can anyone recommend such a tool, and give guidance on how to persuade it to do what we need (HowTos)