This fix shouldn't be necessary, it was a bug in urllib3 that will end up being vendored in upstream.