fixes https://github.com/kennethreitz/requests/issues/1402