#2103 improves http exception consistency and adds new subclasses

Issue #2103