add beagle http refresh, various fixes