Robust HashPrefix initialization, closes #300
Allow a server to keep no ledger history, closes #299
Improve validation of JSON inputs