Considerably saner EventSource reconnection handling; fixes #64.