The xml parser was choking on null/empty content so I added a check for it. I added a test for this and also made small fix to the network error test which was failing on my machine.
Make timeout limits inclusive in network-errors test.
Handle null content gracefully in the xml parser.
Thanks for fixing this.