ZOOKEEPER-4519: Add closeSocket method to Testable interface
This is backwards compatible, since the new method on the `Testable` interface defaults to a no-op.
Author: Houston Putman <houston@apache.org>
Reviewers: Enrico Olivelli <eolivelli@apache.org>, maoling <maoling@apache.org>
Closes #1863 from HoustonPutman/zk-testable-socket-close and squashes the following commits:
1f9d814f5 [Houston Putman] Fix style
475c9f516 [Houston Putman] ZOOKEEPER-4519: Add closeSocket method to Testable interface