iOS: ARC. Android: correct param fir jni. Fix Typo in ConnectProtocol.
Merge remote-tracking branch 'origin/master' into dev