Client implementation, testing, fixes to api.json, fix to request signing algorithm, misc fixes.