fix crash in http_exchange caused by will_close being initialized before http_response resp. will_close is now a function.