Initial implementation based on ZenossApi.java, which is in turn based on a Python API example.