small changes to check curl speed, because of poor curl performance on android...