update to re-set connection lastActiveAt when startHeartbeat,  call startHeartbeat and monitorKeepAlive when transport fully start

#2865
update per code review feedback