Merge pull request #23 from dhuyvett/phonegap-2.x.x

Use native WebSockets on KitKat
Removed global var.