Add /rest/headers
Merge pull request #5444

f676c80 Add /rest/headers (Pieter Wuille)