Added connection state checking helpers, data channel tests working in chrome