WIP, needs lots of cleanup
successfully adding http rec, still need lots of cleanup