Adapt to the revised data channel API that landed in FF22.

See http://mozilla.github.io/webrtc-landing/DataChannel_changes.html for info about the changes.