Improve HTTP errors