Use iceConnectionState to detect initial connection.

Issue #433
I don't understand @trevj's comment.  This is RTCPeerConnection.d.ts.

The corresponding upstream pull request is https://github.com/borisyankov/DefinitelyTyped/pull/2930