* Fixed parts of the protocol bugs ...
 * Added support for hsgid