cordova: add support for websockets on Android 4.0+

Adds support for older devices (4.0+ (API14)) and native websockets on API 20.

Works fine on Android 4.1.2 
is this for the apparent disconnect after running in the background? The docs do sound like that's what we were missing