Example of push syncing using websockets in android