make it possible to instantiate a HttpResponse from file generated with cURL, add tests for this as well