[mce] Check proxy before sending keepalive. Fixes JB#15553