http changes
more http code added
curl impl