[mce] Check proxy before sending keepalive. Fixes JB#15553
Merge pull request #35 from thp/check-proxy-value

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