bug 905460 - make http objects use smart pointers r=sworkman