switching over to new http lib (wip)