Fix heart-beating

If heart-beating is specified in the connect headers, store it in
clientHeartBeat property.

Do not start pinger or ponger if their TTL is 0.