1. ping request can be send even tough heart is not beating on that connection. 2. RemoveAllListeners is added to PortableFactory.
Merge pull request #3388 from sancar/fix/pingRelatedBugs/master

1. ping request can be send even tough heart is not beating on that conn...