Add http test harness to do common setup and teardown, fix register copy