Add peerType parameter to support zookeeper observers

Signed-off-by: Konrad Scherer <Konrad.Scherer@windriver.com>