The right condition for diferentiating a server from a client is hs.sessionID.