Hi,
I have written a small mulit threaded
java app, that through some config parameters listens on a given port and after logging the request passes it through to the server and then logs the server response on the way back.
If this is the sort of thing you are looking for I will try and dig it up. I wrote it when I was learning java and haven't used it for at least 3 years so I am not sure where it is and will probably be scared when looking at the code, but am happy to pass it on if it is the sort of thing you are wanting.
post a reply and I can email it to you off list (after I have found it).
Mat