in reply to 500 EOF when chunk header expected

I don't think I can offer much better advice than you've already received, but here goes...

I am very doubtful that you've discovered a bug in LWP. If it were me, I'd (a) check the server logs, and (b) employ something like Ethereal to help determine what is going on.

HTH,

planetscape