Chainheaders-asm nearly functional

Chainheaders-asm is not yet complete - chain forks are untested, history
not yet included, etc