Github user ivmaykov commented on the issue: https://github.com/apache/zookeeper/pull/184 @anmolnar actually I think the UnifiedSocket approach is fine for now, it works. It can be cleaned up to use the java 8 socket API in a separate pull request later.
---