Update http code for http parser API changes