only put direct subclasses of HTTPException in dict used by `abort`

fixes #442