fix http module to actually return values
fix up running and current contexts