Fix HTTPConnection strict-related DeprecationWarning in Py3.

Resolves #342.