Merge pull request #179 from betamos/master

Add subclasses for HttpError for simplified control flow