A very helpful tool to use is TCP/IP mon.
You can see exactly the request from the client and response from the server.
Especially, the headers value from the request and response.
Every thing will be solved from there on.
It's a matter of patience and take time to debug to understand what is. Good luck.