[5.0] Cleaned abort method and imported HttpException

Thanks @GrahamCampbell  !
Please put the return annotation directly under the params, and `@throws \Symfony\Component\HttpKernel\Exception\HttpException` alone is probably sufficient.