add getStats() to core.peerconnection