Add peerType parameter to support zookeeper observers

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>
Merge pull request #2 from kscherer/add_peertype

Add peerType parameter to support zookeeper observers