1) I've added a new environment type, "HRS", and some related properties to the base class. This will make the entire class simple to use if you happen to be using the OpenHRS registry product. This probably doesn't affect very many (if any) users, but take a look at openSRS.php.default to see how to use it.
2) I changed the class constructor so you can pass the protocol (XCP or TPP), instead of requiring a call to setProtocol().
3) I've added a bit more detail to the logging mechanism so the log now shows you a) the environment you are connecting with (TEST, LIVE or HRS), the protocol you are using (XCP or TPP) and the server/port you connect to.