Add wallet object with skeletal tests.
Add keychains().isValid.
Centralize http error handling.