Fix reconnection bug, SendRequests optimization

Rebase of a pull request from koltsov-ps: https://github.com/ewhauser/zookeeper/pull/19