made heartbeat fixes to ProtocolStateActor per #308