Add /rest/header

Add support for requesting headers in binary or hexadecimal format. This is faster than requesting full blocks.

No JSON format defined for now, and I'm not sure whether we need one.
shouldn't `binaryBlock` be `ssBlock`?