Smarter router
kas->kas routing now tries more than one kas instance
Closes #168 (closed).
The idea of trying a next kas after N ms until success comes from (not sure which one I saw, it was years ago):
- https://www.youtube.com/watch?v=1-3Ahy7Fxsc
- https://www.youtube.com/watch?v=S9twUcX1Zp0
- https://cacm.acm.org/magazines/2013/2/160173-the-tail-at-scale/fulltext
- http://highscalability.com/blog/2012/6/18/google-on-latency-tolerant-systems-making-a-predictable-whol.html;jsessionid=35782D3B8F66A0FD313E513047AA7215.v5-web008
Edited by Mikhail Mazurskiy