don't send keepAlivePeriod
if it not in the config
#1517
Merged
keepAlivePeriod
if it not in the config
#1517