added option for read_response to only read the headers, beginnings of implementing streamed result in mitmproxy