* Reset the request_rec fields protocol, proto_num and the_request also in the error case and restructure code a little bit to avoid code duplication. [Reverted by r1878985]