The **kwargs magic isn't required in this case. This should just be:

```python
        response = session.send(req,
                                timeout=timeout,
                                proxies=_proxies_dict(proxy))
```