Openet enhancements: reconnect, transaction homing, perfomance tweaks

This caches the partition masters, which will help write transactions. Further optimization can be added to cache all partition replicas to load balance read transactions as well, like the java client. That could be an improvement in the near future.