This should do it: https://github.com/schlamar/urllib3/commit/c1185465a7cd9a43ff0b38e2e187b67d33dfc612

Or something else @shazow