tweaks to http request sending on android side