Рефакторинг HttpException, issue #1