Wrap exceptions in HttpRequestException