When developing client side javascript applications, the developer network panel is invaluable for debugging network issues:
Use external HTTP Debugging tool. Your options include:
You fire up one of those, tell them where to route the traffic, and point your application at that debugging proxy instead of the real server.