At least Python 3.1 needed due to the format() strings used

Might even need 3.2, because that’s the lowest I have tested.
Copy headers dictionary rather than adding to original
Fix HTTP reconnection call, add demonstration doc