Depend on requests >=2.3.0, and fix ResourceWarnings (#329).