Fix #139. Replace deprecated 'onicechange' method with 'oniceconnectionstatechange'