Stop using deprecated SSL calls

Description

Hostname checking has been rolled into the SSL context and socket wrapping:
https://docs.python.org/3/library/ssl.html#ssl.SSLContext.check_hostname

Our current way of manually calling match_hostname is deprecated as of 3.7:
https://docs.python.org/3/library/ssl.html#ssl.match_hostname

Environment

None

Pull Requests

None

Status

Assignee

Unassigned

Reporter

James Falcon

Fix versions

None

Labels

None

Reproduced in

None

PM Priority

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Sprint

Priority

Major
Configure