Endpoints failover

one last thing todo:
- periodically randomize endpoint so that all clients don't synchronize permanently onto one node following failure of the other one.
- handle 503's in the same way
- bump version number and release