Make sure we verify against the correct host.

For context on this change, check issue #385 on GitHub.
Merge pull request #385 from Lukasa/341

TLS Verification will break in Python 3.4.1 when using a Proxy