added setCookie for Android (experimental)