[5.0] Cleaned abort method and imported HttpException

Thanks @GrahamCampbell  !
Ok perfect, I'll updated in a sec. Thanks again!