added Client#active? and #inactive?