Upgrading Android app to new protocol using Cordova and WAMP.