WebSocket based communication between a native code and javascript in UIWebView.