Make gengo compatible with older version of requests