We are currently solving the following issue within our repository. Here is the issue text:
--- BEGIN ISSUE ---
Fix S3 issues with botocore 1.3.29
botocore 1.3.29 breaks s3 in tests


--- END ISSUE ---

Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
--- BEGIN FILES ---
Path: `moto/__init__.py`
Content:
```
1 from __future__ import unicode_literals
2 import logging
3 logging.getLogger('boto').setLevel(logging.CRITICAL)
4 
5 __title__ = 'moto'
6 __version__ = '0.4.22'
7 
8 from .autoscaling import mock_autoscaling  # flake8: noqa
9 from .awslambda import mock_lambda  # flake8: noqa
10 from .cloudformation import mock_cloudformation  # flake8: noqa
11 from .cloudwatch import mock_cloudwatch  # flake8: noqa
12 from .datapipeline import mock_datapipeline  # flake8: noqa
13 from .dynamodb import mock_dynamodb  # flake8: noqa
14 from .dynamodb2 import mock_dynamodb2  # flake8: noqa
15 from .ec2 import mock_ec2  # flake8: noqa
16 from .ecs import mock_ecs  # flake8: noqa
17 from .elb import mock_elb  # flake8: noqa
18 from .emr import mock_emr  # flake8: noqa
19 from .glacier import mock_glacier  # flake8: noqa
20 from .iam import mock_iam  # flake8: noqa
21 from .kinesis import mock_kinesis  # flake8: noqa
22 from .kms import mock_kms  # flake8: noqa
23 from .rds import mock_rds  # flake8: noqa
24 from .rds2 import mock_rds2  # flake8: noqa
25 from .redshift import mock_redshift  # flake8: noqa
26 from .s3 import mock_s3  # flake8: noqa
27 from .s3bucket_path import mock_s3bucket_path  # flake8: noqa
28 from .ses import mock_ses  # flake8: noqa
29 from .sns import mock_sns  # flake8: noqa
30 from .sqs import mock_sqs  # flake8: noqa
31 from .sts import mock_sts  # flake8: noqa
32 from .route53 import mock_route53  # flake8: noqa
33 from .swf import mock_swf  # flake8: noqa
34
```
--- END FILES ---

Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.

Here is an example:

```diff
diff --git a/examples/server_async.py b/examples/server_async.py
--- a/examples/server_async.py
+++ b/examples/server_async.py
@@ -313,4 +313,4 @@
 
 
 if __name__ == "__main__":
-    asyncio.run(run_async_server("."), debug=True)
+    asyncio.run(run_async_server(), debug=True)
diff --git a/examples/server_sync.py b/examples/server_sync.py
--- a/examples/server_sync.py
+++ b/examples/server_sync.py
@@ -313,5 +313,5 @@
 
 
 if __name__ == "__main__":
-    server = run_sync_server(".")
+    server = run_sync_server()
     server.shutdown()

```

diff --git a/moto/__init__.py b/moto/__init__.py
--- a/moto/__init__.py
+++ b/moto/__init__.py
@@ -31,3 +31,13 @@
 from .sts import mock_sts  # flake8: noqa
 from .route53 import mock_route53  # flake8: noqa
 from .swf import mock_swf  # flake8: noqa
+
+
+try:
+    # Need to monkey-patch botocore requests back to underlying urllib3 classes
+    from botocore.awsrequest import HTTPSConnectionPool, HTTPConnectionPool, HTTPConnection, VerifiedHTTPSConnection
+except ImportError:
+    pass
+else:
+    HTTPSConnectionPool.ConnectionCls = VerifiedHTTPSConnection
+    HTTPConnectionPool.ConnectionCls = HTTPConnection

{"golden_diff": "diff --git a/moto/__init__.py b/moto/__init__.py\n--- a/moto/__init__.py\n+++ b/moto/__init__.py\n@@ -31,3 +31,13 @@\n from .sts import mock_sts  # flake8: noqa\n from .route53 import mock_route53  # flake8: noqa\n from .swf import mock_swf  # flake8: noqa\n+\n+\n+try:\n+    # Need to monkey-patch botocore requests back to underlying urllib3 classes\n+    from botocore.awsrequest import HTTPSConnectionPool, HTTPConnectionPool, HTTPConnection, VerifiedHTTPSConnection\n+except ImportError:\n+    pass\n+else:\n+    HTTPSConnectionPool.ConnectionCls = VerifiedHTTPSConnection\n+    HTTPConnectionPool.ConnectionCls = HTTPConnection\n", "issue": "Fix S3 issues with botocore 1.3.29\nbotocore 1.3.29 breaks s3 in tests\n\n", "before_files": [{"content": "from __future__ import unicode_literals\nimport logging\nlogging.getLogger('boto').setLevel(logging.CRITICAL)\n\n__title__ = 'moto'\n__version__ = '0.4.22'\n\nfrom .autoscaling import mock_autoscaling  # flake8: noqa\nfrom .awslambda import mock_lambda  # flake8: noqa\nfrom .cloudformation import mock_cloudformation  # flake8: noqa\nfrom .cloudwatch import mock_cloudwatch  # flake8: noqa\nfrom .datapipeline import mock_datapipeline  # flake8: noqa\nfrom .dynamodb import mock_dynamodb  # flake8: noqa\nfrom .dynamodb2 import mock_dynamodb2  # flake8: noqa\nfrom .ec2 import mock_ec2  # flake8: noqa\nfrom .ecs import mock_ecs  # flake8: noqa\nfrom .elb import mock_elb  # flake8: noqa\nfrom .emr import mock_emr  # flake8: noqa\nfrom .glacier import mock_glacier  # flake8: noqa\nfrom .iam import mock_iam  # flake8: noqa\nfrom .kinesis import mock_kinesis  # flake8: noqa\nfrom .kms import mock_kms  # flake8: noqa\nfrom .rds import mock_rds  # flake8: noqa\nfrom .rds2 import mock_rds2  # flake8: noqa\nfrom .redshift import mock_redshift  # flake8: noqa\nfrom .s3 import mock_s3  # flake8: noqa\nfrom .s3bucket_path import mock_s3bucket_path  # flake8: noqa\nfrom .ses import mock_ses  # flake8: noqa\nfrom .sns import mock_sns  # flake8: noqa\nfrom .sqs import mock_sqs  # flake8: noqa\nfrom .sts import mock_sts  # flake8: noqa\nfrom .route53 import mock_route53  # flake8: noqa\nfrom .swf import mock_swf  # flake8: noqa\n", "path": "moto/__init__.py"}], "after_files": [{"content": "from __future__ import unicode_literals\nimport logging\nlogging.getLogger('boto').setLevel(logging.CRITICAL)\n\n__title__ = 'moto'\n__version__ = '0.4.22'\n\nfrom .autoscaling import mock_autoscaling  # flake8: noqa\nfrom .awslambda import mock_lambda  # flake8: noqa\nfrom .cloudformation import mock_cloudformation  # flake8: noqa\nfrom .cloudwatch import mock_cloudwatch  # flake8: noqa\nfrom .datapipeline import mock_datapipeline  # flake8: noqa\nfrom .dynamodb import mock_dynamodb  # flake8: noqa\nfrom .dynamodb2 import mock_dynamodb2  # flake8: noqa\nfrom .ec2 import mock_ec2  # flake8: noqa\nfrom .ecs import mock_ecs  # flake8: noqa\nfrom .elb import mock_elb  # flake8: noqa\nfrom .emr import mock_emr  # flake8: noqa\nfrom .glacier import mock_glacier  # flake8: noqa\nfrom .iam import mock_iam  # flake8: noqa\nfrom .kinesis import mock_kinesis  # flake8: noqa\nfrom .kms import mock_kms  # flake8: noqa\nfrom .rds import mock_rds  # flake8: noqa\nfrom .rds2 import mock_rds2  # flake8: noqa\nfrom .redshift import mock_redshift  # flake8: noqa\nfrom .s3 import mock_s3  # flake8: noqa\nfrom .s3bucket_path import mock_s3bucket_path  # flake8: noqa\nfrom .ses import mock_ses  # flake8: noqa\nfrom .sns import mock_sns  # flake8: noqa\nfrom .sqs import mock_sqs  # flake8: noqa\nfrom .sts import mock_sts  # flake8: noqa\nfrom .route53 import mock_route53  # flake8: noqa\nfrom .swf import mock_swf  # flake8: noqa\n\n\ntry:\n    # Need to monkey-patch botocore requests back to underlying urllib3 classes\n    from botocore.awsrequest import HTTPSConnectionPool, HTTPConnectionPool, HTTPConnection, VerifiedHTTPSConnection\nexcept ImportError:\n    pass\nelse:\n    HTTPSConnectionPool.ConnectionCls = VerifiedHTTPSConnection\n    HTTPConnectionPool.ConnectionCls = HTTPConnection\n", "path": "moto/__init__.py"}]}