determine http version in resp from request.