OPEN - task #7: client: construct API base 
http://github.com/GustavePate/sandbox/issues/issue/7

added support for zookeeper in the client api