Use Curb instead of  raw http