Re-raise error on 401; refactor Http out; add a bunch of API methods :)