Remove curl redirect follow and use ssl.