[client-keepalive] test the feature, has_key? fixes