Issue #128 - (re)start the heartbeat timer when on open.

I moved the start of the heartbeat timer to _triggerOpen().
It does not change anything in the case of _handleProtocol(), but _triggerOpen() is called in other places, and with other protocols, that I have not tested.