fixes to Block API: instantiate with block header; use 256-bit zero hash for nil ID