[PATCH 1/2] winhttp: Handle state in a single switch in receive_response().