Should we have constants (probably on the HSSConnection class for "reg", "dereg" etc.?  I can just see someone typo-ing something and us not noticing.