Use iceConnectionState to detect initial connection.

Issue #433
Apologies, I totally mis-read the diff.

This does indeed look right.