Add support for hx set-input
Refactor hex reader to display better error messages
Add support for hx validsig