ServerHook class