[sr-dev] git:master:94eb9fed: keepalive: use ctime_r() for a safer multi-thread usage