use httpexceptions from Ctx
documentation and syntax sugar
documentation and syntax sugar
url formatting, various refactoring, cleanup