Changed HttpResponse to trim null bytes off body.