Use iceConnectionState to detect initial connection.

Issue #433
The pull request to DefinitelyTyped has now been merged, so it sounds like this change is now fine.